Skip to content

Commit

Permalink
chore: correct path to node_modules (#1868)
Browse files Browse the repository at this point in the history
  • Loading branch information
sofisl authored Sep 22, 2023
1 parent 936e88e commit 8bc6db8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions synthtool/languages/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,13 +220,13 @@ def fix_hermetic(hide_output=False):
"""
logger.debug("Copy eslint config")
shell.run(
["cp", "-r", "/node_modules", "."],
["cp", "-r", "node_modules", "."],
check=True,
hide_output=hide_output,
)
logger.debug("Running fix...")
shell.run(
["/node_modules/.bin/gts", "fix"],
["node_modules/.bin/gts", "fix"],
check=False,
hide_output=hide_output,
)
Expand All @@ -249,7 +249,7 @@ def compile_protos_hermetic(hide_output=False):
"""
logger.debug("Compiling protos...")
shell.run(
["/node_modules/.bin/compileProtos", "src"],
["node_modules/.bin/compileProtos", "src"],
check=True,
hide_output=hide_output,
)
Expand Down

0 comments on commit 8bc6db8

Please sign in to comment.