Skip to content

Commit

Permalink
Add --upload-source to scan command if licenseSearch property is set …
Browse files Browse the repository at this point in the history
…to true
  • Loading branch information
crowleySynopsys committed Feb 21, 2020
1 parent 1da0d89 commit d6e5685
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public List<String> createCommandForProcessBuilder(final IntLogger logger, final
cmd.add("--insecure");
}

if (snippetMatching || snippetMatchingOnly) {
if (snippetMatching || snippetMatchingOnly || licenseSearch) {
if (snippetMatching) {
cmd.add("--snippet-matching");
} else {
Expand Down

0 comments on commit d6e5685

Please sign in to comment.