Codebase list golang-github-rakyll-statik / 274df12
Merge pull request #4 from mschoebel/windows_path Convert OS-specific path separators to slash Burcu Dogan 9 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
136136 if err != nil {
137137 return err
138138 }
139 fHeader.Name = relPath
139 fHeader.Name = filepath.ToSlash(relPath)
140140 f, err := w.CreateHeader(fHeader)
141141 if err != nil {
142142 return err