mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-07 15:50:28 +00:00
chore: upgrade golangci-lint and address findings (#1904)
This commit is contained in:
1 parent
79f93beef2
commit
724ec918c9
22 files changed
+57
-59
No files matched your search
@@ -79,7 +79,7 @@ func (fwfs readWriteFSImpl) OpenAppendable(name string) (WritableFile, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
_, err = file.Seek(0, os.SEEK_END)
|
||||
_, err = file.Seek(0, io.SeekEnd)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user