fix windows slash

master
kim 4 years ago committed by Kevin Wan
parent 40895ba8d9
commit 7f2e48e8f0

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

Loading…
Cancel
Save