Skip to content

Commit 4573975

Browse files
committed
Always use forward slash, even on Windows
1 parent 94a334f commit 4573975

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/utils.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func GetCompatibleWith(name string, rootPath string) map[string][]firmware {
6868
parts := strings.Split(unixPath, "/")
6969
fancyName := parts[len(parts)-3] + " " + parts[len(parts)-2]
7070
f := firmware{
71-
Path: path,
71+
Path: unixPath,
7272
Name: fancyName,
7373
IsLoader: loader.MatchString(unixPath) && !listAll,
7474
}

0 commit comments

Comments
 (0)