Fix failing Cache tests
This commit is contained in:
parent
03544ad0cd
commit
bbc23af138
3 changed files with 8 additions and 8 deletions
|
@ -36,11 +36,11 @@ namespace Microsoft.DotNet.Tools.Cache
|
|||
|
||||
var appliedBuildOptions = result["dotnet"]["cache"];
|
||||
|
||||
if (!result.HasOption("-e"))
|
||||
if (!appliedBuildOptions.HasOption("-e"))
|
||||
{
|
||||
throw new InvalidOperationException(LocalizableStrings.SpecifyEntries);
|
||||
}
|
||||
|
||||
|
||||
msbuildArgs.Add("/t:ComposeCache");
|
||||
|
||||
msbuildArgs.AddRange(appliedBuildOptions.OptionValuesToBeForwarded());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue