fix windows slash

This commit is contained in:
kim 2020-08-11 11:07:47 +08:00 committed by Kevin Wan
parent c57051ce63
commit 69d113a46d

View File

@ -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