Skip to content

Commit

Permalink
fix minor unreachable code caused by log.Fatal (#1796)
Browse files Browse the repository at this point in the history
  • Loading branch information
Abirdcfly authored Oct 5, 2022
1 parent 30a55eb commit 5d4cb87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/repotools/cmd/syncAPIModels/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ func init() {
func main() {
flag.Parse()
if len(modelPath) == 0 || len(outputPath) == 0 {
log.Fatalf("model path and output path required")
flag.PrintDefaults()
log.Fatalf("model path and output path required")
}

srcModels, err := findSmithyModels(modelPath)
Expand Down

0 comments on commit 5d4cb87

Please sign in to comment.