summaryrefslogtreecommitdiff
path: root/runtime/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/build.rs')
-rw-r--r--runtime/build.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/build.rs b/runtime/build.rs
index 701d027a4..84418af4e 100644
--- a/runtime/build.rs
+++ b/runtime/build.rs
@@ -22,7 +22,7 @@ fn create_snapshot(
let display_path = file.strip_prefix(display_root).unwrap();
let display_path_str = display_path.display().to_string();
js_runtime
- .execute(
+ .execute_script(
&("deno:".to_string() + &display_path_str.replace('\\', "/")),
&std::fs::read_to_string(&file).unwrap(),
)