1
0

Other: Update golangci-lint to v1.50.0

This commit is contained in:
Leander Beernaert
2022-10-17 11:02:56 +02:00
parent e0603f741f
commit 9d800324af
70 changed files with 247 additions and 277 deletions

View File

@ -20,7 +20,6 @@ package updater
import (
"compress/gzip"
"io"
"io/ioutil"
"os"
"path/filepath"
@ -43,7 +42,7 @@ func (i *InstallerDarwin) InstallUpdate(_ *semver.Version, r io.Reader) error {
}
defer func() { _ = gr.Close() }()
tempDir, err := ioutil.TempDir("", "proton-update-source")
tempDir, err := os.MkdirTemp("", "proton-update-source")
if err != nil {
return errors.Wrap(err, "failed to get temporary update directory")
}