Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c581253

Browse files
authoredNov 14, 2018
Merge pull request #44 from iu0v1/master
fix for #43
2 parents a4c22f4 + d0638c0 commit c581253

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎file/methods.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ func (f *File) GetRemap() string {
1111
return ""
1212
}
1313

14-
return `"` + f.OriginalPath + `": {
14+
return `"` + f.Path + `": {
1515
"prefix": "` + f.Prefix + `",
1616
"base": "` + f.Base + `",
1717
},`

‎file/methods_windows.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ func (f *File) GetRemap() string {
1111
return ""
1212
}
1313

14-
return `"` + strings.Replace(f.OriginalPath, `\`, `\\`, -1) + `": {
14+
return `"` + strings.Replace(f.Path, `\`, `\\`, -1) + `": {
1515
"prefix": "` + f.Prefix + `",
1616
"base": "` + f.Base + `",
1717
},`

0 commit comments

Comments
 (0)
Please sign in to comment.