diff options
author | Brayden <xpyxel@gmail.com> | 2020-04-29 06:43:34 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-29 12:43:34 +0200 |
commit | 2337fca277e84e063549479a63a45820fcead49c (patch) | |
tree | 7a0a844e21edbfb056be2cb123a866caa4e539cc /cli/ops | |
parent | ec41fb69ccabf012a6368a8df5166578e5ee2307 (diff) |
Make Deno.isatty stable (#4937)
Diffstat (limited to 'cli/ops')
-rw-r--r-- | cli/ops/tty.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cli/ops/tty.rs b/cli/ops/tty.rs index 447af9a2d..cf7f62ed8 100644 --- a/cli/ops/tty.rs +++ b/cli/ops/tty.rs @@ -216,11 +216,10 @@ struct IsattyArgs { pub fn op_isatty( isolate: &mut CoreIsolate, - state: &State, + _state: &State, args: Value, _zero_copy: Option<ZeroCopyBuf>, ) -> Result<JsonOp, OpError> { - state.check_unstable("Deno.isatty"); let args: IsattyArgs = serde_json::from_value(args)?; let rid = args.rid; |