mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-24 01:30:25 +08:00
fix windows slash
This commit is contained in:
parent
c57051ce63
commit
69d113a46d
@ -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…
Reference in New Issue
Block a user