diff options
Diffstat (limited to 'source/filesystem.go')
-rw-r--r-- | source/filesystem.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/filesystem.go b/source/filesystem.go index 5434431aa..da3983aec 100644 --- a/source/filesystem.go +++ b/source/filesystem.go @@ -27,6 +27,7 @@ func (f *Filesystem) Files() []*File { } func (f *Filesystem) add(name string, reader io.Reader) { + name = filepath.ToSlash(name) f.files = append(f.files, &File{Name: name, Contents: reader}) } |