forked from dragonflyoss/nydus
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: scroll back golang-lint version from 1.49.0 to 1.47.3
Golang-lint 1.48+(included) uses gofmt based on go 1.9. The result of Gofmt based on go1.9 is different from Gofmt based on go1.18([different](golang/go#54789)). As a result, Golang-lint 1.48+ reports "File is not `gofmt`-ed with `-s` (gofmt)", although gofmt(1.8 based) says the code is ok. Scroll back to golang-lint 1.47.3, which uses gofmt based on go 1.8. In the future, upgrade golang-lint when go version is higher or equal to 1.9. Signed-off-by: 泰友 <cuichengxu.ccx@antgroup.com>
- Loading branch information
泰友
committed
Jan 19, 2023
1 parent
dcf79ef
commit 937a61a
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters