diff options
author | Brayden <xpyxel@gmail.com> | 2020-04-27 16:07:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-27 16:07:57 -0400 |
commit | a1974cbe43b8a223e74640df1603b80f1b801347 (patch) | |
tree | 3c3f92d5967a87bf982fea002f7f6ee5d5c421a9 | |
parent | ee4e6a1ef9f51beaaef5e189302afe1db68ff6c1 (diff) |
Mark Deno.umask unstable (#4935)
-rw-r--r-- | cli/ops/fs.rs | 3 |
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 |