Skip to content

Commit 8bc6db8

Browse files
authored
chore: correct path to node_modules (#1868)
1 parent 936e88e commit 8bc6db8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

synthtool/languages/node.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,13 +220,13 @@ def fix_hermetic(hide_output=False):
220220
"""
221221
logger.debug("Copy eslint config")
222222
shell.run(
223-
["cp", "-r", "/node_modules", "."],
223+
["cp", "-r", "node_modules", "."],
224224
check=True,
225225
hide_output=hide_output,
226226
)
227227
logger.debug("Running fix...")
228228
shell.run(
229-
["/node_modules/.bin/gts", "fix"],
229+
["node_modules/.bin/gts", "fix"],
230230
check=False,
231231
hide_output=hide_output,
232232
)
@@ -249,7 +249,7 @@ def compile_protos_hermetic(hide_output=False):
249249
"""
250250
logger.debug("Compiling protos...")
251251
shell.run(
252-
["/node_modules/.bin/compileProtos", "src"],
252+
["node_modules/.bin/compileProtos", "src"],
253253
check=True,
254254
hide_output=hide_output,
255255
)

0 commit comments

Comments
 (0)