mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-24 17:50:15 +09:00
Convert leftover usages of path to filepath
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user