mirror of
https://github.com/itchyny/mmv.git
synced 2025-12-26 22:24:58 +08:00
commit
69e86775b6
1 changed files with 1 additions and 1 deletions
|
|
@ -293,7 +293,7 @@ func fileContents(dir string) map[string]string {
|
|||
} else {
|
||||
path := filepath.Join(dir, fi.Name())
|
||||
cnt, _ := ioutil.ReadFile(path)
|
||||
m[path] = string(cnt)
|
||||
m[filepath.ToSlash(path)] = string(cnt)
|
||||
}
|
||||
}
|
||||
if len(m) == 0 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue