Skip to content

Commit

Permalink
style: fix typo in log message
Browse files Browse the repository at this point in the history
merge pull request #131 from dexhek/patch-1
  • Loading branch information
moonD4rk committed May 2, 2022
2 parents 0e73875 + e52744d commit e17ad16
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/browser/browser.go
Expand Up @@ -43,7 +43,7 @@ func pickChromium(name, profile string) []Browser {
if name == "all" {
for _, v := range chromiumList {
if !fileutil.FolderExists(filepath.Clean(v.profilePath)) {
log.Noticef("find browser %s failed, profile folder is not exist", v.name)
log.Noticef("find browser %s failed, profile folder does not exist", v.name)
continue
}
if b, err := chromium.New(v.name, v.storage, v.profilePath, v.items); err == nil {
Expand All @@ -59,7 +59,7 @@ func pickChromium(name, profile string) []Browser {
profile = c.profilePath
}
if !fileutil.FolderExists(filepath.Clean(profile)) {
log.Fatalf("find browser %s failed, profile folder is not exist", c.name)
log.Fatalf("find browser %s failed, profile folder does not exist", c.name)
}
b, err := chromium.New(c.name, c.storage, profile, c.items)
if err != nil {
Expand All @@ -82,7 +82,7 @@ func pickFirefox(name, profile string) []Browser {
profile = fileutil.ParentDir(profile)
}
if !fileutil.FolderExists(filepath.Clean(profile)) {
log.Noticef("find browser firefox %s failed, profile folder is not exist", v.name)
log.Noticef("find browser firefox %s failed, profile folder does not exist", v.name)
continue
}
if multiFirefox, err := firefox.New(v.name, v.storage, profile, v.items); err == nil {
Expand Down

0 comments on commit e17ad16

Please sign in to comment.