WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
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

Lines changed: 1 addition & 1 deletion
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)