Skip to content

Commit

Permalink
bail if not installed
Browse files Browse the repository at this point in the history
  • Loading branch information
UncleGedd committed Oct 15, 2024
1 parent 8e89727 commit 8d7cff4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tasks/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ tasks:
if command -v addlicense &> /dev/null; then
echo "addlicense is installed"
else
echo "addlicense is not installed"
echo "Error: addlicense is not installed" >&2
exit 1
fi
ignore_flags=()
while IFS= read -r line; do
Expand All @@ -169,7 +170,8 @@ tasks:
if command -v addlicense &> /dev/null; then
echo "addlicense is installed"
else
echo "addlicense is not installed"
echo "Error: addlicense is not installed" >&2
exit 1
fi
ignore_flags=()
while IFS= read -r line; do
Expand Down

0 comments on commit 8d7cff4

Please sign in to comment.