Skip to content

Commit

Permalink
Keep going after unfound config
Browse files Browse the repository at this point in the history
  • Loading branch information
snarlysodboxer committed Sep 20, 2022
1 parent 4f25e39 commit 3e807db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/lint.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ var lintCmd = &cobra.Command{
continue
}
if fileConfigs.Kind == "" {
log.Fatalf("WARNING: unable to determine a schema for target file: %s", filePath)
log.Printf("WARNING: unable to determine a schema for target file: %s", filePath)
continue
}
configNode, ok := configMap[fileConfigs.Kind]
if !ok {
Expand Down

0 comments on commit 3e807db

Please sign in to comment.