From a1974cbe43b8a223e74640df1603b80f1b801347 Mon Sep 17 00:00:00 2001 From: Brayden Date: Mon, 27 Apr 2020 16:07:57 -0400 Subject: [PATCH] Mark Deno.umask unstable (#4935) --- cli/ops/fs.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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