Skip to content

Commit

Permalink
Update check conventions for portablility.
Browse files Browse the repository at this point in the history
  • Loading branch information
dickensc committed Aug 18, 2023
1 parent e4af820 commit fb8b0a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .ci/check_conventions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function check_config() {

# Use git commands to ensure that all generated files match the currently committed files.
function check_generation() {
local changeCount=$(git diff --name-only | wc -l)
local changeCount=$(git diff --name-only | wc -l | sed 's/ //g')
if [[ ${changeCount} != 0 ]] ; then
echo "ERROR: Changes in git seen even before generation, should be running in a clean checkout."
return 1
Expand Down

0 comments on commit fb8b0a9

Please sign in to comment.