1
0
mirror of https://github.com/beego/bee.git synced 2024-12-25 09:40:50 +00:00

remove unused err

This commit is contained in:
astaxie 2014-06-23 23:03:10 +08:00
parent 82581a7c30
commit 620f052d93

2
run.go
View File

@ -109,7 +109,7 @@ func runApp(cmd *Command, args []string) {
if _, err := os.Stat(path.Join(crupath, "swagger")); err != nil {
if os.IsNotExist(err) {
downloadFromUrl(swaggerlink, "swagger.zip")
err := unzipAndDelete("swagger.zip", "swagger")
unzipAndDelete("swagger.zip", "swagger")
}
}
}