Skip to content

Conversation

iyear
Copy link
Member

@iyear iyear commented Aug 17, 2022

Signed-off-by: iyear ljyngup@gmail.com

Pre-Checklist

Note: please complete ALL items in the following checklist.

  • I have read through the CONTRIBUTING.md documentation.
  • My code has the necessary comments and documentation (if needed).
  • I have added relevant tests

Description

The latest version of golangci-lint checks for deprecated ioutil
A file change was missed in #970

pkg/util/git/commit_test.go:4:2: 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 t
hose implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)

Related Issues

N/A

Signed-off-by: iyear <ljyngup@gmail.com>
@iyear iyear requested a review from a team as a code owner August 17, 2022 03:39
@aFlyBird0 aFlyBird0 self-requested a review August 17, 2022 04:42
@daniel-hutao daniel-hutao merged commit 1237ab8 into devstream-io:main Aug 18, 2022
@iyear iyear deleted the fix-ioutil branch August 18, 2022 01:33
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.

3 participants