Skip to content

Commit

Permalink
fix linter errors
Browse files Browse the repository at this point in the history
Signed-off-by: Xtigyro <[email protected]>
  • Loading branch information
Xtigyro committed Jan 18, 2021
1 parent 5838846 commit e3f175f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/check-codeowners.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ for DIR in ./charts/*
do
FILE="$DIR/Chart.yaml"
DIR="${DIR//\./}"
MAINTAINERS="$(yq e '.maintainers.[].name' "$FILE" | sed 's/^/@/' | sort --ignore-case)"
IFS=$'\n' MAINTAINERS=(${MAINTAINERS}) echo "$DIR/ ${MAINTAINERS[@]}"
MAINTAINERS="$(yq e '.maintainers.[].name' "$FILE" | sed 's/^/@/' | sort --ignore-case | tr '\r\n' ' ')"
echo -e "$DIR/ $MAINTAINERS"
done

0 comments on commit e3f175f

Please sign in to comment.