Skip to content

Add environment variable to enable recursive mode

G.J.R. Timmer requested to merge gjrtimmer/license-finder:fix/recursive into main

What does this MR do?

Expose an environment variable named RECURSIVE. This variable controls LicenseFinder's --recursive CLI flag. See https://github.com/pivotal/LicenseFinder/blob/master/README.md#output-from-project_roots

Using the --recursive option means the array will include subdirectories that contain a known package manager. With the exception that Gradle and Maven subprojects will not be included.

Prior to this change RECURSIVE is hardcoded and cannot be set by users.

What are the relevant issue numbers?

NONE

Does this MR meet the acceptance criteria?

Edited by Fabien Catteau

Merge request reports