From 5a527f8583b0e392f212e9dfca0eb5ba9e76c9a5 Mon Sep 17 00:00:00 2001 From: eidheim Date: Thu, 27 Feb 2020 20:28:32 +0100 Subject: [PATCH] Removed deprecated flag --harmony when running standalone js files through node --- src/project.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/project.cc b/src/project.cc index aa44bde..66b5325 100644 --- a/src/project.cc +++ b/src/project.cc @@ -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(); }