fix windows slash

master
kim 4 years ago
parent 40895ba8d9
commit 9b0b958f43

@ -22,6 +22,7 @@ func getParentPackage(dir string) (string, error) {
if err != nil { if err != nil {
return "", err return "", err
} }
absDir = strings.ReplaceAll(absDir, `\`, `/`)
var rootPath string var rootPath string
var tempPath = absDir var tempPath = absDir

Loading…
Cancel
Save