Skip to content

Commit

Permalink
make utime unstable (denoland#4955)
Browse files Browse the repository at this point in the history
  • Loading branch information
disizali authored and SASUKE40 committed May 7, 2020
1 parent 30b1aa5 commit d4e18ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cli/ops/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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))?;

Expand Down

0 comments on commit d4e18ab

Please sign in to comment.