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

bugfix: linting errors - S1007 and SA1019 #51

Merged
merged 2 commits into from
Jan 16, 2023

Conversation

cychiang
Copy link
Contributor

@cychiang cychiang commented Dec 5, 2022

This PR fixes two errors when doing make reviewable

  • S1007: should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice
  • SA1019: "io/ioutil" has been deprecated since Go 1.16: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details.

- S1007: should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice
- SA1019: "io/ioutil" has been deprecated since Go 1.16: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details.
@cychiang cychiang marked this pull request as ready for review December 5, 2022 14:29
Copy link
Contributor

@ulucinar ulucinar left a comment

Choose a reason for hiding this comment

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

Thank you @cychiang, lgtm. I will rebase #62 once we merge this.

@ulucinar ulucinar merged commit 9b6a115 into upbound:main Jan 16, 2023
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