Skip to content

Commit

Permalink
Update push-checks.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Rixxan committed May 29, 2024
1 parent 8e88881 commit 7ad3618
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/push-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ jobs:
run: |
output=$(python ./scripts/find_localised_strings.py --compare-lang L10n/en.template --directory . --ignore coriolis-data)
echo "$output"
trimmed_output=$(echo "$output" | xargs)
if [ ${#trimmed_output} -eq 0 ]; then
echo "output is empty or contains only whitespace"
else
echo "output has content"
fi
trimmed_output=$(echo "$output" | xargs)
if [ ${#trimmed_output} -eq 0 ]; then
echo "output is empty or contains only whitespace"
else
echo "output has content"
fi
echo ${#output}
if [ $output ]; then
echo "$output"
Expand Down

0 comments on commit 7ad3618

Please sign in to comment.