1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

Make Deno.dir unstable (#4924)

This commit is contained in:
Ryan Dahl 2020-04-27 10:53:56 -04:00 committed by GitHub
parent 4036be2ab2
commit 3e9b0da346
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)?;