summaryrefslogtreecommitdiff
path: root/src/from_filesystem.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/from_filesystem.cc')
-rw-r--r--src/from_filesystem.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/from_filesystem.cc b/src/from_filesystem.cc
index a47808b82..797659de0 100644
--- a/src/from_filesystem.cc
+++ b/src/from_filesystem.cc
@@ -32,7 +32,7 @@ Deno* NewFromFileSystem(void* data, deno_recv_cb cb) {
{
v8::HandleScope handle_scope(isolate);
auto context = v8::Context::New(isolate);
- InitializeContext(isolate, context, BUNDLE_LOCATION, js_source.c_str());
+ InitializeContext(isolate, context, BUNDLE_LOCATION, js_source, nullptr);
d->context.Reset(d->isolate, context);
}