Chore: fix typo (#490)

This commit is contained in:
Jason Chen
2020-01-30 17:03:11 +08:00
committed by GitHub
parent 14fb789002
commit 82c387e92b
3 changed files with 4 additions and 4 deletions

View File

@ -207,7 +207,7 @@ func parseGeneral(cfg *RawConfig) (*General, error) {
logLevel := cfg.LogLevel
if externalUI != "" {
externalUI = C.Path.Reslove(externalUI)
externalUI = C.Path.Resolve(externalUI)
if _, err := os.Stat(externalUI); os.IsNotExist(err) {
return nil, fmt.Errorf("external-ui: %s not exist", externalUI)