diff options
Diffstat (limited to 'gems/gitlab-secret_detection/lib/gitlab/secret_detection/scan.rb')
-rw-r--r-- | gems/gitlab-secret_detection/lib/gitlab/secret_detection/scan.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gems/gitlab-secret_detection/lib/gitlab/secret_detection/scan.rb b/gems/gitlab-secret_detection/lib/gitlab/secret_detection/scan.rb index 37103912615..3918d584ccd 100644 --- a/gems/gitlab-secret_detection/lib/gitlab/secret_detection/scan.rb +++ b/gems/gitlab-secret_detection/lib/gitlab/secret_detection/scan.rb @@ -86,9 +86,9 @@ module Gitlab next SecretDetection::Response.new(SecretDetection::Status::NOT_FOUND) if matched_blobs.empty? secrets = if subprocess - run_scan_within_subprocess(blobs, blob_timeout) + run_scan_within_subprocess(matched_blobs, blob_timeout) else - run_scan(blobs, blob_timeout) + run_scan(matched_blobs, blob_timeout) end scan_status = overall_scan_status(secrets) |