cspell lint go code (#3706)

This commit is contained in:
6543
2024-05-24 22:35:04 +02:00
committed by GitHub
parent 4628a97c93
commit 42f2734308
44 changed files with 214 additions and 161 deletions

View File

@@ -11,7 +11,7 @@ import (
const tarDirectoryMode fs.FileMode = 0x755
func Untar(dst string, r io.Reader) error {
func UnTar(dst string, r io.Reader) error {
gzr, err := gzip.NewReader(r)
if err != nil {
return err

View File

@@ -122,7 +122,7 @@ func extractNewVersion(tarFilePath string) (string, error) {
return "", err
}
err = Untar(tmpDir, tarFile)
err = UnTar(tmpDir, tarFile)
if err != nil {
return "", err
}