build: Fix 'will_minify none' not working, leading to unnecessary warning (#30)

This commit is contained in:
Ethan P 2020-05-03 18:28:02 -07:00
parent a3c4fa1014
commit 529eb60498
No known key found for this signature in database
GPG Key ID: 6963FD04F6CF35EA

View File

@ -69,6 +69,9 @@ will_minify() {
any|"")
[[ "$OPT_MINIFY" != "none" ]]
return $? ;;
none)
! will_minify any
return $? ;;
esac
return 1
}