chore: bump linter

This commit is contained in:
James Houlahan 2020-05-07 09:39:47 +02:00 committed by Jakub Cuth
parent c1a57a2e12
commit 833fce8702
3 changed files with 3 additions and 3 deletions

View File

@ -104,7 +104,7 @@ update-vendor: vendor-cache/${THERECIPE_ENV} prepare-vendor
## Dev dependencies
.PHONY: install-devel-tools install-linter install-go-mod-outdated
LINTVER:="v1.23.6"
LINTVER:="v1.26.0"
LINTSRC:="https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh"
install-dev-dependencies: install-devel-tools install-linter install-go-mod-outdated

View File

@ -357,7 +357,7 @@ func migratePreferencesFromC10(cfg *config.Config) {
return
}
err = ioutil.WriteFile(pref11Path, data, 0644) //nolint[gosec]
err = ioutil.WriteFile(pref11Path, data, 0600)
if err != nil {
log.WithError(err).Error("Problem to migrate preferences")
return

View File

@ -103,7 +103,7 @@ func (u *Updates) CreateJSONAndSign(deployDir, goos string) error {
return err
}
if err = ioutil.WriteFile(versionFilePath, txt, 0644); err != nil { //nolint[gosec]
if err = ioutil.WriteFile(versionFilePath, txt, 0600); err != nil {
return err
}