Skip to content

Commit 0542303

Browse files
committed
Another attempt to fix the bug in build.sh
1 parent 8d3829c commit 0542303

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ then
3636
# the Docker container.
3737
mv package-lock.json old-package-lock.json
3838
docker cp app:/opt/app/package-lock.json package-lock.json
39+
set +eo pipefail
3940
UPDATE_CACHE=$(cmp package-lock.json old-package-lock.json)
41+
set -eo pipefail
4042
else
4143
# If "node_modules" does not exist, then cache must be created.
4244
UPDATE_CACHE=1

0 commit comments

Comments
 (0)