mirror of
https://github.com/beego/bee.git
synced 2025-07-11 08:01:01 +00:00
go lint
This commit is contained in:
2
run.go
2
run.go
@ -114,7 +114,7 @@ func runApp(cmd *Command, args []string) int {
|
||||
if downdoc == "true" {
|
||||
if _, err := os.Stat(path.Join(crupath, "swagger")); err != nil {
|
||||
if os.IsNotExist(err) {
|
||||
downloadFromUrl(swaggerlink, "swagger.zip")
|
||||
downloadFromURL(swaggerlink, "swagger.zip")
|
||||
unzipAndDelete("swagger.zip", "swagger")
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user