Skip to content

Commit ee17ab2

Browse files
authored
Merge pull request #125 from cmcgee1024/skip_swift_version_license_check
Fix addition of swift version file as automatic exclusion to the license check
2 parents 2d5015d + 9eec59b commit ee17ab2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/scripts/check-license-header.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ dynamic_exclude_list=( )
4646

4747
if [[ -f .licenseignore ]]; then
4848
static_exclude_list+=( '":(exclude).licenseignore"' )
49-
IFS=$'\n' read -d '' -r -a dynamic_exclude_list <<< "$(sed -E 's/^(.*)$/":(exclude)\1"/' <.licenseignore)"
49+
IFS=$'\n' read -r -a dynamic_exclude_list <<< "$(sed -E 's/^(.*)$/":(exclude)\1"/' <.licenseignore)"
5050
fi
5151

5252
exclude_list=( "${static_exclude_list[@]}" "${dynamic_exclude_list[@]}" )

0 commit comments

Comments
 (0)