mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
make utime unstable (#4955)
This commit is contained in:
parent
76641eb05e
commit
22b1a302f4
1 changed files with 2 additions and 0 deletions
|
@ -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))?;
|
||||
|
||||
|
|
Loading…
Reference in a new issue