Skip to content

Commit

Permalink
Comment a function (#1325)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladmos authored Jan 21, 2025
1 parent 733b4a2 commit 54b4ddb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions warn/warn_bazel_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -798,6 +798,7 @@ func nativeProtoSymbolsWarning(symbol string, bzlfile string) func(f *build.File
}
}

// NativeShellRulesWarning produces a warning for missing loads of shell rules
func NativeShellRulesWarning(rule string) func(f *build.File, fileReader *FileReader) []*LinterFinding {
return func(f *build.File, fileReader *FileReader) []*LinterFinding {
if f.Type != build.TypeBzl && f.Type != build.TypeBuild {
Expand Down

0 comments on commit 54b4ddb

Please sign in to comment.