mirror of
https://github.com/Homebrew/brew.git
synced 2026-10-28 09:34:42 +08:00
Inline minimum vulnerability severity
This commit is contained in:
1 parent
6d474d7e42
commit
4a81eacf1f
1 file changed
+1
-2
@@ -40,13 +40,12 @@ module Homebrew
|
||||
def run
|
||||
require "vulns"
|
||||
|
||||
severity = min_severity
|
||||
summary_width = max_summary
|
||||
|
||||
results = Homebrew::Vulns::Scanner.new(
|
||||
formulae,
|
||||
ignore_patches: !args.no_ignore_patches?,
|
||||
min_severity: severity,
|
||||
min_severity:,
|
||||
).scan
|
||||
|
||||
if args.json?
|
||||
|
||||
Reference in new issue
Block a user