diff --git a/cli/ops/tty.rs b/cli/ops/tty.rs index 53736ae919..447af9a2d5 100644 --- a/cli/ops/tty.rs +++ b/cli/ops/tty.rs @@ -47,10 +47,11 @@ struct SetRawArgs { pub fn op_set_raw( isolate: &mut CoreIsolate, - _state: &State, + state: &State, args: Value, _zero_copy: Option, ) -> Result { + state.check_unstable("Deno.setRaw"); let args: SetRawArgs = serde_json::from_value(args)?; let rid = args.rid; let is_raw = args.mode; @@ -215,10 +216,11 @@ struct IsattyArgs { pub fn op_isatty( isolate: &mut CoreIsolate, - _state: &State, + state: &State, args: Value, _zero_copy: Option, ) -> Result { + state.check_unstable("Deno.isatty"); let args: IsattyArgs = serde_json::from_value(args)?; let rid = args.rid;