Skip to content

Conversation

@mrnugget
Copy link
Contributor

I used VS Code again and got sick of all the warnings popping up. So, here we are. I fixed all the errors reported by running golint-ci run in the root of src-cli.

@mrnugget mrnugget requested review from a team, Strum355, efritz and garobrik January 20, 2021 16:53
fileDiffsOnce sync.Once
}

func (ts *TaskStatus) Clone() *TaskStatus {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused function that's also broken because it copies a sync.Once.


file.WriteString(content)
if _, err := file.WriteString(content); err != nil {
return err
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would break out of the loop, which is maybe what we want, but just double checking the assumption 🙂

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that's fine, yeah.

Copy link
Contributor

@LawnGnome LawnGnome left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So fresh, so clean! Thanks for doing this.

@mrnugget mrnugget merged commit aa3db3c into main Jan 21, 2021
@mrnugget mrnugget deleted the mrn/fix-golang-lint branch January 21, 2021 09:21
scjohns pushed a commit that referenced this pull request Apr 24, 2023
* Fix all errors reported by golint-ci

* See if that fixes the windows build

* Use os.Chmod() instead of (*os.File).Chmod() to fix windows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants