mirror of
https://github.com/denoland/deno.git
synced 2024-10-29 08:58:01 -04:00
docs(std): Fix spelling mistake on permission (#5476)
This commit is contained in:
parent
76a6a1ff46
commit
b34628a26a
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ const { lstat, lstatSync, mkdir, mkdirSync } = Deno;
|
|||
/**
|
||||
* Ensures that the directory exists.
|
||||
* If the directory structure does not exist, it is created. Like mkdir -p.
|
||||
* Requires the `--allow-read` and `--alow-write` flag.
|
||||
* Requires the `--allow-read` and `--allow-write` flag.
|
||||
*/
|
||||
export async function ensureDir(dir: string): Promise<void> {
|
||||
try {
|
||||
|
@ -28,7 +28,7 @@ export async function ensureDir(dir: string): Promise<void> {
|
|||
/**
|
||||
* Ensures that the directory exists.
|
||||
* If the directory structure does not exist, it is created. Like mkdir -p.
|
||||
* Requires the `--allow-read` and `--alow-write` flag.
|
||||
* Requires the `--allow-read` and `--allow-write` flag.
|
||||
*/
|
||||
export function ensureDirSync(dir: string): void {
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue