mirror of
https://github.com/beego/bee.git
synced 2024-11-24 13:30:53 +00:00
remove unused err
This commit is contained in:
parent
82581a7c30
commit
620f052d93
2
run.go
2
run.go
@ -109,7 +109,7 @@ func runApp(cmd *Command, args []string) {
|
|||||||
if _, err := os.Stat(path.Join(crupath, "swagger")); err != nil {
|
if _, err := os.Stat(path.Join(crupath, "swagger")); err != nil {
|
||||||
if os.IsNotExist(err) {
|
if os.IsNotExist(err) {
|
||||||
downloadFromUrl(swaggerlink, "swagger.zip")
|
downloadFromUrl(swaggerlink, "swagger.zip")
|
||||||
err := unzipAndDelete("swagger.zip", "swagger")
|
unzipAndDelete("swagger.zip", "swagger")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user