Skip to content

Commit

Permalink
make rake lint:yard fail on warning like github action (#305)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimtng authored Jul 21, 2024
1 parent e799691 commit 2ab3906
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rakelib/lint.rake
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ namespace :lint do

desc "YARD Docs"
task :yard do
sh "yard stats -c --list-undoc"
sh("yard -c --no-cache --private --fail-on-warning --no-stats") &&
sh("yard stats -c --list-undoc")
end

desc "Execute all lint tests"
Expand Down

0 comments on commit 2ab3906

Please sign in to comment.