summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/ops/fs.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/ops/fs.rs b/cli/ops/fs.rs
index 84ac4ed51..31f6434fa 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<ZeroCopyBuf>,
) -> Result<JsonOp, OpError> {
+ 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