Skip to content

Commit 8d3829c

Browse files
committed
Attempt to fix a bug in build.sh
1 parent 08a7d18 commit 8d3829c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

build.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ 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-
cmp package-lock.json old-package-lock.json
40-
UPDATE_CACHE=$?
39+
UPDATE_CACHE=$(cmp package-lock.json old-package-lock.json)
4140
else
4241
# If "node_modules" does not exist, then cache must be created.
4342
UPDATE_CACHE=1

0 commit comments

Comments
 (0)