Skip to content

Commit 5d4cb87

Browse files
authored
fix minor unreachable code caused by log.Fatal (#1796)
1 parent 30a55eb commit 5d4cb87

File tree

1 file changed

+1
-1
lines changed
  • internal/repotools/cmd/syncAPIModels

1 file changed

+1
-1
lines changed

internal/repotools/cmd/syncAPIModels/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ func init() {
2424
func main() {
2525
flag.Parse()
2626
if len(modelPath) == 0 || len(outputPath) == 0 {
27-
log.Fatalf("model path and output path required")
2827
flag.PrintDefaults()
28+
log.Fatalf("model path and output path required")
2929
}
3030

3131
srcModels, err := findSmithyModels(modelPath)

0 commit comments

Comments
 (0)