Skip to content

Commit

Permalink
Fix linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
enolfc committed Dec 11, 2024
1 parent e2a03cd commit 727336c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ done
# check that the VO mappings are up to date according to ops portal
for vo in $(yq -r '.vos | keys[]' <vo-mappings.yaml | cut -f2 -d"/" | sed "s/^VO=//"); do
if ! grep -q "^$vo\$" "$VO_LIST"; then
line="$(grep -n $vo vo-mappings.yaml | head -1 | cut -f1 -d:)"
line="$(grep -n "$vo" vo-mappings.yaml | head -1 | cut -f1 -d:)"
echo "::error file=vo-mappings.yaml line=$line title=VO not in ops portal::VO $vo not found in ops portal"
exit_value=1
fi
Expand Down

0 comments on commit 727336c

Please sign in to comment.