mirror of
https://github.com/denoland/deno.git
synced 2024-10-29 08:58:01 -04:00
Make Deno.dir unstable (#4924)
This commit is contained in:
parent
4036be2ab2
commit
3e9b0da346
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ fn op_get_dir(
|
|||
args: Value,
|
||||
_zero_copy: Option<ZeroCopyBuf>,
|
||||
) -> Result<JsonOp, OpError> {
|
||||
state.check_unstable("Deno.dir");
|
||||
state.check_env()?;
|
||||
let args: GetDirArgs = serde_json::from_value(args)?;
|
||||
|
||||
|
|
Loading…
Reference in a new issue