summaryrefslogtreecommitdiff
path: root/ext/fs/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fs/lib.rs')
-rw-r--r--ext/fs/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/fs/lib.rs b/ext/fs/lib.rs
index 48b0e3495..386d143d2 100644
--- a/ext/fs/lib.rs
+++ b/ext/fs/lib.rs
@@ -180,11 +180,11 @@ deno_core::extension!(deno_fs,
op_readfile_text_async<P>,
],
esm = [ "30_fs.js" ],
- config = {
+ options = {
unstable: bool
},
- state = |state, unstable| {
- state.put(UnstableChecker { unstable });
+ state = |state, options| {
+ state.put(UnstableChecker { unstable: options.unstable });
},
);