We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 27df53d + 7ae20af commit c2b4792Copy full SHA for c2b4792
build-layer.sh
@@ -1,9 +1,8 @@
1
set -e
2
3
# Remove packaged layer if exists
4
-LAYER_ARCHIVE=canvas-nodejs_v*.zip
5
-if [ -f "$LAYER_ARCHIVE" ]; then
6
- rm $LAYER_ARCHIVE
+if [ -n "$(find . -name 'canvas-nodejs_v*.zip')" ]; then
+ rm canvas-nodejs_v*.zip
7
fi
8
9
# Clean and prepare Node.js modules and dependencies
0 commit comments