Simplify IF Condition

This commit is contained in:
Stefan Zweifel 2020-06-26 21:00:48 +02:00
parent f120678ed1
commit c8ded2885e

View File

@ -5,7 +5,7 @@ set -eu
_main() {
_switch_to_repository
if _git_is_dirty || [ "$INPUT_SKIP_DIRTY_CHECK" = true ]; then
if _git_is_dirty || "$INPUT_SKIP_DIRTY_CHECK"; then
echo "::set-output name=changes_detected::true";