mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-08 21:25:32 +02:00
Update to using math/rand/v2
This commit is contained in:
@@ -7,7 +7,7 @@ import (
|
||||
"encoding/base32"
|
||||
"fmt"
|
||||
"io/fs"
|
||||
not_rand "math/rand"
|
||||
not_rand "math/rand/v2"
|
||||
"os"
|
||||
"os/exec"
|
||||
"os/user"
|
||||
@@ -137,7 +137,7 @@ var CacheDir = sync.OnceValue(func() (cache_dir string) {
|
||||
}
|
||||
candidate = filepath.Join(Expanduser(candidate), "kitty")
|
||||
}
|
||||
os.MkdirAll(candidate, 0o755)
|
||||
_ = os.MkdirAll(candidate, 0o755)
|
||||
return candidate
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user