Even if I have multiple strategies supported, such as having both the detect-secrets tool as well as docker installed, and both can be used I expect that only one is used (the first one detected) and then stop without continuing to running the next one, which results in 2 reports for the same file being scanned.
Current Behavior
All available strategies getting invoked.
Possible Solution
Detect when strategies get invoked and don't continue to the next strategies if so.
Steps to Reproduce (for bugs)
Have Yelp's detect-secrets available in the path
Have Docker available in the path
Run detect-secrets-launcher for a file and both will be invoked
Expected Behavior
Even if I have multiple strategies supported, such as having both the detect-secrets tool as well as docker installed, and both can be used I expect that only one is used (the first one detected) and then stop without continuing to running the next one, which results in 2 reports for the same file being scanned.
Current Behavior
All available strategies getting invoked.
Possible Solution
Detect when strategies get invoked and don't continue to the next strategies if so.
Steps to Reproduce (for bugs)