summaryrefslogtreecommitdiff
path: root/libdeno/snapshot_creator.cc
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-01-30 17:21:31 -0500
committerGitHub <noreply@github.com>2019-01-30 17:21:31 -0500
commit00597ffde1ebb05a6c60ea7e09e6578c11f92820 (patch)
tree849b6b22c07ed38a4b424c363c06435ea2de4fa9 /libdeno/snapshot_creator.cc
parent7d278a0383ce634f4fa3dd792e9b202582a6fde1 (diff)
Refactor libdeno ES module interface. (#1624)
Allows for future asynchronous module loading. Add support for import.meta.url Fixes #1496
Diffstat (limited to 'libdeno/snapshot_creator.cc')
-rw-r--r--libdeno/snapshot_creator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdeno/snapshot_creator.cc b/libdeno/snapshot_creator.cc
index 6a83f963a..d38b6c075 100644
--- a/libdeno/snapshot_creator.cc
+++ b/libdeno/snapshot_creator.cc
@@ -23,7 +23,7 @@ int main(int argc, char** argv) {
CHECK(deno::ReadFileToString(js_fn, &js_source));
deno_init();
- deno_config config = {1, deno::empty_buf, deno::empty_buf, nullptr, nullptr};
+ deno_config config = {1, deno::empty_buf, deno::empty_buf, nullptr};
Deno* d = deno_new(config);
int r = deno_execute(d, nullptr, js_fn, js_source.c_str());