Convert leftover usages of path to filepath

This commit is contained in:
Jöran Karl
2025-04-26 20:33:38 +02:00
parent e5c3a3edc3
commit 1eef4bb3e0
2 changed files with 8 additions and 10 deletions

View File

@@ -9,7 +9,6 @@ import (
"io"
"io/fs"
"os"
"path"
"path/filepath"
"strconv"
"strings"
@@ -479,7 +478,7 @@ func (b *Buffer) GetName() string {
name = b.Path
}
if b.Settings["basename"].(bool) {
return path.Base(name)
return filepath.Base(name)
}
return name
}