We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b07454f commit 6f0446bCopy full SHA for 6f0446b
build.sh
@@ -33,8 +33,9 @@ then
33
# "package-lock.json" from the code and from the container to decide,
34
# whether we need to re-cache, and thus to copy "node_modules" from
35
# the Docker container.
36
- docker cp app:/opt/app/package-lock.json new-package-lock.json
37
- cmp package-lock.json new-package-lock.json
+ mv package-lock.json old-package-lock.json
+ docker cp app:/opt/app/package-lock.json package-lock.json
38
+ cmp package-lock.json old-package-lock.json
39
UPDATE_CACHE=$?
40
else
41
# If "node_modules" does not exist, then cache must be created.
0 commit comments