Merge pull request #1311 from kylewelsby/bugfix/missing-tmp-cache-exit-1

Fixes early exit if tmp cache is missing
This commit is contained in:
Nils Winkler
2019-01-21 08:35:07 +01:00
committed by GitHub

View File

@@ -44,7 +44,9 @@ _bash-it-clean-component-cache() {
done
else
cache="$(_bash-it-component-cache-file ${component})"
[[ -f "${cache}" ]] && rm -f "${cache}"
if [[ -f "${cache}" ]] ; then
rm -f "${cache}"
fi
fi
}