Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.

Commit fe40157

Browse files
Fix: #496 NPM_FLAGS doesn't handle more than one flag (#590)
Co-authored-by: Celine Pelletier <cpelletier@ferlab.bio>
1 parent bfcce1e commit fe40157

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run-build-functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ run_npm() {
185185
then
186186
echo "Installing NPM modules using NPM version $(npm --version)"
187187
run_npm_set_temp
188-
if npm install ${NPM_FLAGS:+"$NPM_FLAGS"}
188+
if npm install ${NPM_FLAGS:+$NPM_FLAGS}
189189
then
190190
echo "NPM modules installed"
191191
else

0 commit comments

Comments
 (0)