From 30252e25b8b833c71603629a2187d177140d7740 Mon Sep 17 00:00:00 2001 From: Trivikram Kamat <16024985+trivikr@users.noreply.github.com> Date: Sat, 26 Sep 2020 14:56:03 -0700 Subject: docs: update --unstable flag forget message (#7708) --- docs/standard_library.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs') diff --git a/docs/standard_library.md b/docs/standard_library.md index ada5b36e7..37ed550f4 100644 --- a/docs/standard_library.md +++ b/docs/standard_library.md @@ -51,15 +51,15 @@ Compile file:///dev/deno/main.ts Download https://deno.land/std@$STD_VERSION/fs/copy.ts Download https://deno.land/std@$STD_VERSION/fs/ensure_dir.ts Download https://deno.land/std@$STD_VERSION/fs/_util.ts -error: TS2339 [ERROR]: Property 'utime' does not exist on type 'typeof Deno'. +error: TS2339 [ERROR]: Property 'utime' does not exist on type 'typeof Deno'. 'Deno.utime' is an unstable API. Did you forget to run with the '--unstable' flag? await Deno.utime(dest, statInfo.atime, statInfo.mtime); ~~~~~ - at https://deno.land/std@$STD_VERSION/fs/copy.ts:90:16 + at https://deno.land/std@$STD_VERSION/fs/copy.ts:92:16 -TS2339 [ERROR]: Property 'utimeSync' does not exist on type 'typeof Deno'. +TS2339 [ERROR]: Property 'utimeSync' does not exist on type 'typeof Deno'. 'Deno.utimeSync' is an unstable API. Did you forget to run with the '--unstable' flag? Deno.utimeSync(dest, statInfo.atime, statInfo.mtime); ~~~~~~~~~ - at https://deno.land/std@$STD_VERSION/fs/copy.ts:101:10 + at https://deno.land/std@$STD_VERSION/fs/copy.ts:103:10 ``` Solution to that problem requires adding `--unstable` flag: -- cgit v1.2.3