diff options
Diffstat (limited to 'cli/standalone/file_system.rs')
-rw-r--r-- | cli/standalone/file_system.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/standalone/file_system.rs b/cli/standalone/file_system.rs index 536b17f27..314444630 100644 --- a/cli/standalone/file_system.rs +++ b/cli/standalone/file_system.rs @@ -102,7 +102,7 @@ impl FileSystem for DenoCompileFileSystem { &self, path: &Path, recursive: bool, - mode: u32, + mode: Option<u32>, ) -> FsResult<()> { self.error_if_in_vfs(path)?; RealFs.mkdir_sync(path, recursive, mode) @@ -111,7 +111,7 @@ impl FileSystem for DenoCompileFileSystem { &self, path: PathBuf, recursive: bool, - mode: u32, + mode: Option<u32>, ) -> FsResult<()> { self.error_if_in_vfs(&path)?; RealFs.mkdir_async(path, recursive, mode).await |