Commit 5a527f85 authored by Ole Christian Eidheim's avatar Ole Christian Eidheim

Removed deprecated flag --harmony when running standalone js files through node

parent 157e44ae
......@@ -976,7 +976,7 @@ void Project::JavaScript::compile_and_run() {
Info::get().print("No executable found");
return;
}
command = "node --harmony " + filesystem::escape_argument(filesystem::get_short_path(view->file_path).string());
command = "node " + filesystem::escape_argument(filesystem::get_short_path(view->file_path).string());
path = view->file_path.parent_path();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment