Skip to content

Commit

Permalink
Improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
clayoster committed Nov 16, 2024
1 parent a7fc1e0 commit f00a4c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/linting
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if [[ "$linting_scope" == 'merge' ]]; then
destination_branch="$CI_MERGE_REQUEST_TARGET_BRANCH_NAME"
# If neither of those variables exist, exit the script with an error and print unidentified platform message
else
echo "CICD platform not recognized. The 'merge' linting scope only works on Github and Gitlab currently."
echo "CICD platform not recognized. The 'merge' linting scope only works on Github and Gitlab currently, and only on merge or pull requests."
exit 1
fi
# Ensure the destination branch has been fetched for comparison
Expand Down

0 comments on commit f00a4c8

Please sign in to comment.