Skip to content

Commit

Permalink
Expose the new yarn_audit task via rake -T
Browse files Browse the repository at this point in the history
  • Loading branch information
Fryguy committed Jul 31, 2024
1 parent 80ff67c commit e8d9686
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/tasks/test_security.rake
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ namespace :test do
exit $?.exitstatus unless system(cmd)
end

desc "Run yarn npm audit with the specified report format ('human' or 'json')"
task :yarn_audit, :format do |_, args|
format = args.fetch(:format, "human")

Expand Down

0 comments on commit e8d9686

Please sign in to comment.