replace os.Stat with os.Lstat

This commit is contained in:
Lilian Jónsdóttir 2024-08-13 14:51:55 -07:00
parent 50f4dbda8a
commit 34eef6a228
3 changed files with 7 additions and 7 deletions

View file

@ -52,7 +52,7 @@ func NewPath(path string) (string, bool) {
Run(); err != nil {
return path, false
}
if _, e := os.Stat(path); e != nil {
if _, e := os.Lstat(path); e != nil {
return path, false
}
default: