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

fix golangci-lint errors #80

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

hunts
Copy link
Contributor

@hunts hunts commented Mar 10, 2023

The PR created by dependabot has issues related to lint. This pull request cherry-pick-ed its changes and fixed the reported issues.

dependabot bot and others added 2 commits February 25, 2023 07:23
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.0.0-20210119212857-b64e53b001e4 to 0.1.0.
- [Release notes](https://github.com/golang/sys/releases)
- [Commits](https://github.com/golang/sys/commits/v0.1.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@@ -82,8 +82,8 @@ func (c *child) String() string {
return c.proc.String()
}

func (c *child) Kill() {
c.proc.Signal(os.Kill)
func (c *child) Kill() error {

Choose a reason for hiding this comment

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

That's not a backward compatible change

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is probably fine and we can have a minor version bump for this. Caller won't fail but would need to fix lint error if it has linter.

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.

2 participants