Fix staticcheck failed - error strings should not be capitalized (ST1005)

This commit is contained in:
Tavee Khunbida 2019-01-08 01:08:03 +07:00
parent 22af6cc712
commit 4d1304b78c
1 changed files with 1 additions and 1 deletions

View File

@ -328,7 +328,7 @@ func CheckEnv(appname string) (apppath, packpath string, err error) {
apppath = filepath.Join(gosrcpath, appname)
if _, e := os.Stat(apppath); !os.IsNotExist(e) {
err = fmt.Errorf("Cannot create application without removing '%s' first", apppath)
err = fmt.Errorf("cannot create application without removing '%s' first", apppath)
beeLogger.Log.Errorf("Path '%s' already exists", apppath)
return
}