Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make "copyright" CI action pass #356

Merged
merged 2 commits into from
Apr 11, 2023
Merged

Make "copyright" CI action pass #356

merged 2 commits into from
Apr 11, 2023

Conversation

bsiegert
Copy link
Collaborator

@bsiegert bsiegert commented Apr 7, 2023

This is purely a whitespace change.

Part of the copyright header is a line of the form
//<space><tab>URL
Putting spaces before tabs is a mistake from a typographical point of view. gofmt seems to agree and occasionally removes the space when rewriting a file. This makes it impossible to get the "gofmt" and "copyright" linters passing at the same time.

Let's fix this for good by removing the extra space across the codebase.

BSD head (as opposed to GNU head, apparently) need the "-n lines"
argument *before* the list of files.
This is purely a whitespace change.

Part of the copyright header is a line of the form
`//<space><tab>URL`
Putting spaces before tabs is a mistake from a typographical point of
view. gofmt seems to agree and occasionally removes the space when
rewriting a file. This makes it impossible to get the "gofmt" and
"copyright" linters passing at the same time.

Let's fix this for good by removing the extra space across the codebase.
@bsiegert
Copy link
Collaborator Author

bsiegert commented Apr 7, 2023

I think this will fix #330 for good.

@kele kele merged commit bad993e into master Apr 11, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants