From 97d204a0f883e6b8ec638ade29433b6db7b57660 Mon Sep 17 00:00:00 2001 From: Bevan Kay Date: Tue, 2 Apr 2024 23:50:17 +1100 Subject: [PATCH] cmd/lib/ci_matrix: fix manual auditing --- cmd/lib/ci_matrix.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/lib/ci_matrix.rb b/cmd/lib/ci_matrix.rb index 381588159b5d..7186f98837fa 100644 --- a/cmd/lib/ci_matrix.rb +++ b/cmd/lib/ci_matrix.rb @@ -139,7 +139,7 @@ def self.generate(tap, labels: [], cask_names: [], skip_install: false, new_cask cask_files_to_check = if cask_names.any? cask_names.map do |cask_name| - Cask::CaskLoader.load(cask_name).sourcefile_path.relative_path_from(tap.path) + Cask::CaskLoader.find_cask_in_tap(cask_name, tap).relative_path_from(tap.path) end else changed_files[:modified_cask_files]