Remove deadcode or fix unreachable code
This commit is contained in:
parent
e4f404d8d6
commit
3519f7416d
4 changed files with 5 additions and 4 deletions
|
|
@ -43,6 +43,9 @@ func main() {
|
|||
} else {
|
||||
BaseURL = ""
|
||||
}
|
||||
if err = sanitizeStaticOptions(); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
if api.Simulator != "" {
|
||||
if _, err := os.Stat(path.Join(api.TeamsDir, api.Simulator)); os.IsNotExist(err) {
|
||||
log.Fatal(err)
|
||||
|
|
|
|||
Reference in a new issue