Skip to content

fix: excludeSuffixes wasn't skipping any files - #120

Merged
andrewrynhard merged 1 commit into
siderolabs:masterfrom
smira:fix-exclude-suffix
Mar 27, 2019
Merged

andrewrynhard merged 1 commit into
siderolabs:masterfrom
smira:fix-exclude-suffix

Conversation

@smira

@smira smira commented Mar 27, 2019

Copy link
Copy Markdown
Member

continue was just running one more iteration for loop, being
effectively no-op.

While I'm at it, added another return to make sure file license
is validated only once even if matches multiple suffixes.

`continue` was just running one more iteration `for` loop, being
effectively no-op.

While I'm at it, added another return to make sure file license
is validated only once even if matches multiple suffixes.

Signed-off-by: Andrey Smirnov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants