Skip to content

Commit 249f7c3

Browse files
committed
nit: make errors more helpful for end user
Signed-off-by: Taylor Silva <dev@taydev.net>
1 parent 44c3005 commit 249f7c3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

assets/check

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ else
7676
fi
7777

7878
if [ "$tag_behaviour" != "match_tagged" ] && [ "$tag_behaviour" != "match_tag_ancestors" ]; then
79-
echo "Invalid tag_behaviour"
79+
echo "Invalid tag_behaviour. Must be one of 'match_tagged' or 'match_tag_ancestors'."
8080
exit 1
8181
fi
8282

@@ -91,7 +91,7 @@ do
9191
done
9292

9393
if [ "$version_depth" -le 0 ]; then
94-
echo "Invalid version_depth"
94+
echo "Invalid version_depth. Must be <= 0."
9595
exit 1
9696
fi
9797

0 commit comments

Comments
 (0)