diff options
author | Ali Hasani <a.hassssani@gmail.com> | 2020-04-28 05:44:47 +0430 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-27 21:14:47 -0400 |
commit | 22b1a302f48bc1fdea27f19cd1e5740c1ff72cbc (patch) | |
tree | 65081a8bff0320123a88189ac67496552cea06bf | |
parent | 76641eb05e687a6684780abbf89226ecedf19a79 (diff) |
make utime unstable (#4955)
-rw-r--r-- | cli/ops/fs.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/ops/fs.rs b/cli/ops/fs.rs index 31f6434fa..28e260694 100644 --- a/cli/ops/fs.rs +++ b/cli/ops/fs.rs @@ -895,6 +895,8 @@ fn op_utime( args: Value, _zero_copy: Option<ZeroCopyBuf>, ) -> Result<JsonOp, OpError> { + state.check_unstable("Deno.utime"); + let args: UtimeArgs = serde_json::from_value(args)?; let path = resolve_from_cwd(Path::new(&args.path))?; |