mirror of
https://github.com/denoland/deno.git
synced 2025-03-04 01:44:26 -05: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,
|
args: Value,
|
||||||
_zero_copy: Option<ZeroCopyBuf>,
|
_zero_copy: Option<ZeroCopyBuf>,
|
||||||
) -> Result<JsonOp, OpError> {
|
) -> Result<JsonOp, OpError> {
|
||||||
|
state.check_unstable("Deno.dir");
|
||||||
state.check_env()?;
|
state.check_env()?;
|
||||||
let args: GetDirArgs = serde_json::from_value(args)?;
|
let args: GetDirArgs = serde_json::from_value(args)?;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue