summaryrefslogtreecommitdiff
path: root/cli/standalone/file_system.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/standalone/file_system.rs')
-rw-r--r--cli/standalone/file_system.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/standalone/file_system.rs b/cli/standalone/file_system.rs
index 314444630..712c6ee91 100644
--- a/cli/standalone/file_system.rs
+++ b/cli/standalone/file_system.rs
@@ -22,8 +22,8 @@ use super::virtual_fs::FileBackedVfs;
pub struct DenoCompileFileSystem(Arc<FileBackedVfs>);
impl DenoCompileFileSystem {
- pub fn new(vfs: FileBackedVfs) -> Self {
- Self(Arc::new(vfs))
+ pub fn new(vfs: Arc<FileBackedVfs>) -> Self {
+ Self(vfs)
}
fn error_if_in_vfs(&self, path: &Path) -> FsResult<()> {