summaryrefslogtreecommitdiff
path: root/core/snapshot_util.rs
diff options
context:
space:
mode:
Diffstat (limited to 'core/snapshot_util.rs')
-rw-r--r--core/snapshot_util.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/snapshot_util.rs b/core/snapshot_util.rs
index b35cabbfa..8e397e262 100644
--- a/core/snapshot_util.rs
+++ b/core/snapshot_util.rs
@@ -39,7 +39,7 @@ pub fn create_snapshot(create_snapshot_options: CreateSnapshotOptions) {
let display_path_str = display_path.display().to_string();
js_runtime
.execute_script(
- &("deno:".to_string() + &display_path_str.replace('\\', "/")),
+ &("internal:".to_string() + &display_path_str.replace('\\', "/")),
&std::fs::read_to_string(&file).unwrap(),
)
.unwrap();