From e8d96860d55ba7a933415859ca9b9f7fe996aab0 Mon Sep 17 00:00:00 2001 From: Jason Frey Date: Wed, 31 Jul 2024 16:45:08 -0400 Subject: [PATCH] Expose the new yarn_audit task via rake -T --- lib/tasks/test_security.rake | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/tasks/test_security.rake b/lib/tasks/test_security.rake index 424e8b2b8d9..73d4f5b54cd 100644 --- a/lib/tasks/test_security.rake +++ b/lib/tasks/test_security.rake @@ -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")