summaryrefslogtreecommitdiff
path: root/cli/rt/30_files.js
diff options
context:
space:
mode:
Diffstat (limited to 'cli/rt/30_files.js')
-rw-r--r--cli/rt/30_files.js9
1 files changed, 4 insertions, 5 deletions
diff --git a/cli/rt/30_files.js b/cli/rt/30_files.js
index ff6b85ae5..e492da218 100644
--- a/cli/rt/30_files.js
+++ b/cli/rt/30_files.js
@@ -2,7 +2,6 @@
((window) => {
const core = window.Deno.core;
- const { close } = window.__bootstrap.resources;
const { read, readSync, write, writeSync } = window.__bootstrap.io;
const { pathFromURL } = window.__bootstrap.util;
@@ -104,7 +103,7 @@
}
close() {
- close(this.rid);
+ core.close(this.rid);
}
}
@@ -122,7 +121,7 @@
}
close() {
- close(this.rid);
+ core.close(this.rid);
}
}
@@ -140,7 +139,7 @@
}
close() {
- close(this.rid);
+ core.close(this.rid);
}
}
@@ -158,7 +157,7 @@
}
close() {
- close(this.rid);
+ core.close(this.rid);
}
}