From f4f325f1d51dba0c6795494e4b118fb353babb73 Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Tue, 24 Jan 2017 02:36:04 -0800 Subject: [PATCH] Cleanup --- .../Microsoft.DotNet.Cli.LzmaArchive.targets | 2 -- build_projects/dotnet-cli-build/DotNetRestore.cs | 14 +------------- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/build/compile/Microsoft.DotNet.Cli.LzmaArchive.targets b/build/compile/Microsoft.DotNet.Cli.LzmaArchive.targets index f267e7394..a785e7b3c 100644 --- a/build/compile/Microsoft.DotNet.Cli.LzmaArchive.targets +++ b/build/compile/Microsoft.DotNet.Cli.LzmaArchive.targets @@ -91,7 +91,6 @@ WorkingDirectory="$(NuGetPackagesArchiveProject)/Web" /> @@ -101,7 +100,6 @@ WorkingDirectory="$(NuGetPackagesArchiveProject)/Web1.1" /> diff --git a/build_projects/dotnet-cli-build/DotNetRestore.cs b/build_projects/dotnet-cli-build/DotNetRestore.cs index 05e531dea..d3f1a2b4d 100644 --- a/build_projects/dotnet-cli-build/DotNetRestore.cs +++ b/build_projects/dotnet-cli-build/DotNetRestore.cs @@ -12,7 +12,7 @@ namespace Microsoft.DotNet.Cli.Build protected override string Args { - get { return $"{GetProjectPath()} {GetConfigFile()} {GetSource()} {GetPackages()} {GetIgnoreMissingSources()} {GetSkipInvalidConfigurations()} {GetRuntime()} {GetAdditionalParameters()}"; } + get { return $"{GetProjectPath()} {GetConfigFile()} {GetSource()} {GetPackages()} {GetSkipInvalidConfigurations()} {GetRuntime()} {GetAdditionalParameters()}"; } } public string ConfigFile { get; set; } @@ -26,8 +26,6 @@ namespace Microsoft.DotNet.Cli.Build public string Packages { get; set; } public bool SkipInvalidConfigurations { get; set; } - - public bool IgnoreMissingSources { get; set; } public string Runtime { get; set; } @@ -80,16 +78,6 @@ namespace Microsoft.DotNet.Cli.Build return null; } - - private string GetIgnoreMissingSources() - { - if (IgnoreMissingSources) - { - return "--ignore-failed-sources"; - } - - return null; - } private string GetRuntime() {