Fix issue on windows
This commit is contained in:
parent
409e4cde7a
commit
7ab94fe816
6 changed files with 18 additions and 17 deletions
|
@ -80,7 +80,7 @@ func ExecDir() (string, error) {
|
|||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
return path.Dir(p), nil
|
||||
return path.Dir(strings.Replace(p, "\\", "/", -1)), nil
|
||||
}
|
||||
|
||||
var logLevels = map[string]string{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue