summaryrefslogtreecommitdiff
path: root/std/fs/ensure_file.ts
diff options
context:
space:
mode:
authorAkash Vishwakarma <akash.vishwakarma@milliman.com>2020-05-17 00:06:13 +0530
committerGitHub <noreply@github.com>2020-05-16 20:36:13 +0200
commit6257684da62bbefb5b9fbeac01ef7c72598c85ca (patch)
tree0aefb439263789f33e07175e93c85c578e6be953 /std/fs/ensure_file.ts
parent6405675448917f36252cde52d8504a64b73db9c8 (diff)
Fix spelling: "--alow-write" => "--allow-write" (#5486)
Diffstat (limited to 'std/fs/ensure_file.ts')
-rw-r--r--std/fs/ensure_file.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/std/fs/ensure_file.ts b/std/fs/ensure_file.ts
index 2539c71ac..a1476b657 100644
--- a/std/fs/ensure_file.ts
+++ b/std/fs/ensure_file.ts
@@ -10,7 +10,7 @@ const { lstat, lstatSync, writeFile, writeFileSync } = Deno;
* exist.
* these directories are created. If the file already exists,
* it is NOTMODIFIED.
- * Requires the `--allow-read` and `--alow-write` flag.
+ * Requires the `--allow-read` and `--allow-write` flag.
*/
export async function ensureFile(filePath: string): Promise<void> {
try {
@@ -41,7 +41,7 @@ export async function ensureFile(filePath: string): Promise<void> {
* exist,
* these directories are created. If the file already exists,
* it is NOT MODIFIED.
- * Requires the `--allow-read` and `--alow-write` flag.
+ * Requires the `--allow-read` and `--allow-write` flag.
*/
export function ensureFileSync(filePath: string): void {
try {