We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 429c1b4 + ff3eb34 commit 1c0ff20Copy full SHA for 1c0ff20
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