fix windows slash

master
kim 4 years ago committed by kingxt
parent 63c7f44a5f
commit 47440964cd

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

Loading…
Cancel
Save