summaryrefslogtreecommitdiff
path: root/core/libdeno/snapshot_creator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'core/libdeno/snapshot_creator.cc')
-rw-r--r--core/libdeno/snapshot_creator.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/libdeno/snapshot_creator.cc b/core/libdeno/snapshot_creator.cc
index 081bd1156..bd3c8081d 100644
--- a/core/libdeno/snapshot_creator.cc
+++ b/core/libdeno/snapshot_creator.cc
@@ -21,7 +21,8 @@ int main(int argc, char** argv) {
CHECK(deno::ReadFileToString(js_fn, &js_source));
deno_init();
- deno_config config = {1, deno::empty_snapshot, deno::empty_buf, nullptr};
+ deno_config config = {1, deno::empty_snapshot, deno::empty_buf, nullptr,
+ nullptr};
Deno* d = deno_new(config);
deno_execute(d, nullptr, js_fn, js_source.c_str());