Skip to content

Commit 0d78212

Browse files
committed
extend ExampleLinter comment with the LintStdin
1 parent fbf47ea commit 0d78212

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

example_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ func ExampleLinter() {
3434
// - LintFiles: Check the given multiple files
3535
// - LintDir: Check all workflow files in the given single directory recursively
3636
// - LintRepository: Check all workflow files under .github/workflows in the given repository
37+
// - LintStdin: Check the given workflow content read from STDIN
3738
// - Lint: Check the given workflow content assuming the given file path
3839
errs, err := l.LintFile(f, nil)
3940
if err != nil {

0 commit comments

Comments
 (0)