Merge in 'release/8.0.1xx' changes

This commit is contained in:
dotnet-bot 2024-06-04 14:31:57 +00:00
commit 391d6824f9

View file

@ -150,7 +150,7 @@ public class LicenseScanTests : TestBase
string ignoreOptions = string.Join(" ", s_ignoredFilePatterns.Select(pattern => $"--ignore {pattern}")); string ignoreOptions = string.Join(" ", s_ignoredFilePatterns.Select(pattern => $"--ignore {pattern}"));
ExecuteHelper.ExecuteProcessValidateExitCode( ExecuteHelper.ExecuteProcessValidateExitCode(
"scancode", "scancode",
$"--license --strip-root --only-findings {ignoreOptions} --json-pp {scancodeResultsPath} {Config.LicenseScanPath}", $"--license --processes 4 --strip-root --only-findings {ignoreOptions} --json-pp {scancodeResultsPath} {Config.LicenseScanPath}",
OutputHelper); OutputHelper);
JsonDocument doc = JsonDocument.Parse(File.ReadAllText(scancodeResultsPath)); JsonDocument doc = JsonDocument.Parse(File.ReadAllText(scancodeResultsPath));