We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 429c1b4 commit ff3eb34Copy full SHA for ff3eb34
1 file changed
hooks/post-command
@@ -74,7 +74,7 @@ done
74
75
# remove temporary compressed artifacts
76
if [ "$(plugin_read_config KEEP_COMPRESSED_ARTIFACTS 'false')" = 'false' ]; then
77
- if compression_active && [ -e "${ACTUAL_PATH}" ]; then
+ if compression_active && [ "${already_compressed}" == 'true' ] && [ -e "${ACTUAL_PATH}" ]; then
78
rm -rf "${ACTUAL_PATH}"
79
fi
80
0 commit comments