Skip to content

Commit

Permalink
Merge pull request #44 from iu0v1/master
Browse files Browse the repository at this point in the history
fix for #43
  • Loading branch information
UnnoTed authored Nov 14, 2018
2 parents a4c22f4 + d0638c0 commit c581253
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion file/methods.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ func (f *File) GetRemap() string {
return ""
}

return `"` + f.OriginalPath + `": {
return `"` + f.Path + `": {
"prefix": "` + f.Prefix + `",
"base": "` + f.Base + `",
},`
Expand Down
2 changes: 1 addition & 1 deletion file/methods_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ func (f *File) GetRemap() string {
return ""
}

return `"` + strings.Replace(f.OriginalPath, `\`, `\\`, -1) + `": {
return `"` + strings.Replace(f.Path, `\`, `\\`, -1) + `": {
"prefix": "` + f.Prefix + `",
"base": "` + f.Base + `",
},`
Expand Down

0 comments on commit c581253

Please sign in to comment.