From 43e06287bd380b7d7ace471437509ca1abae4bbd Mon Sep 17 00:00:00 2001 From: "David A. Wheeler" Date: Mon, 31 Jul 2023 11:32:35 -0400 Subject: [PATCH] Fix license_finder to work with docs/ directory (#2009) Signed-off-by: David A. Wheeler --- lib/tasks/default.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/default.rake b/lib/tasks/default.rake index a4f55be1f..1cb59b97c 100644 --- a/lib/tasks/default.rake +++ b/lib/tasks/default.rake @@ -186,7 +186,7 @@ end # HAVE run this program locally. desc 'Examine licenses of reused components; see license_finder docs.' file 'license_okay' => ['Gemfile.lock', 'docs/dependency_decisions.yml'] do - sh 'bundle exec license_finder && touch license_okay' + sh 'bundle exec license_finder --decisions_file docs/dependency_decisions.yml && touch license_okay' end desc 'Create license report'