Skip to content

Commit

Permalink
Fixes bug on license enforcer
Browse files Browse the repository at this point in the history
  • Loading branch information
ubiratansoares committed Nov 5, 2023
1 parent 3a55b8d commit b9005af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/license-enforcer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ report_missing_licenses() {
}

enforce_license_for_file_patterns() {
IFS=" " read -r -a files <<<"$(echo "$sources" | sed "s/,/[:space:]/g" | xargs)"
IFS=" " read -r -a files <<<"$(echo "$sources" | sed "s/,/ /g" | xargs)"

for type in "${files[@]}"; do
check_license_on_files "$type" || report_missing_licenses
Expand Down

0 comments on commit b9005af

Please sign in to comment.