From 1353979c909a62992fcc474d5707cee71373fcf2 Mon Sep 17 00:00:00 2001 From: Ruoyu Zhong Date: Sun, 28 Apr 2024 20:38:48 +0800 Subject: [PATCH] formulae: fix CLI arg name Follow-up to #1041. Fixes: Error: CLI arg for `skip_strict?` is not declared for this command Seen in Homebrew/homebrew-core#170246. --- lib/tests/formulae.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tests/formulae.rb b/lib/tests/formulae.rb index 7513cfc9..8475f343 100644 --- a/lib/tests/formulae.rb +++ b/lib/tests/formulae.rb @@ -434,7 +434,7 @@ def formula!(formula_name, args:) if new_formula if !args.skip_new? audit_args << "--new" - elsif !args.skip_strict? + elsif !args.skip_new_strict? audit_args << "--strict" end else