diff --git a/cli/ops/fs.rs b/cli/ops/fs.rs index 84ac4ed513..31f6434faa 100644 --- a/cli/ops/fs.rs +++ b/cli/ops/fs.rs @@ -210,10 +210,11 @@ struct UmaskArgs { } fn op_umask( - _state: &State, + state: &State, args: Value, _zero_copy: Option, ) -> Result { + state.check_unstable("Deno.umask"); let args: UmaskArgs = serde_json::from_value(args)?; // TODO implement umask for Windows // see https://github.com/nodejs/node/blob/master/src/node_process_methods.cc