Fix failing Cache tests

This commit is contained in:
Piotr Puszkiewicz 2017-03-09 17:20:00 -08:00
parent 03544ad0cd
commit bbc23af138
3 changed files with 8 additions and 8 deletions

View file

@ -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());