mirror of
https://github.com/casbin/bee.git
synced 2025-07-17 03:04:21 +08: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