From c1f430966a798e7f26228e3e3a372b0d3eb4a549 Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Fri, 6 Jul 2018 14:11:15 +0900 Subject: chore: reorganize symlinks resolves #332 --- js/run_node.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'js/run_node.py') diff --git a/js/run_node.py b/js/run_node.py index 506f2be4c..154c2167b 100755 --- a/js/run_node.py +++ b/js/run_node.py @@ -26,8 +26,9 @@ def symlink(target, name, target_is_dir=False): os.symlink(target, name) -js_path = os.path.dirname(os.path.realpath(__file__)) -target_abs = os.path.join(js_path, "node_modules") +root_path = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) +third_party_path = os.path.join(root_path, "third_party") +target_abs = os.path.join(third_party_path, "node_modules") target_rel = os.path.relpath(target_abs) if not os.path.exists("node_modules"): -- cgit v1.2.3