mirror of
https://github.com/beego/bee.git
synced 2024-11-23 22:10:54 +00:00
Fix staticcheck failed - error strings should not be capitalized (ST1005)
This commit is contained in:
parent
22af6cc712
commit
4d1304b78c
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user