Skip to content

Commit

Permalink
Don't print incorrect warning - fixes #2079
Browse files Browse the repository at this point in the history
  • Loading branch information
inosik committed Dec 27, 2016
1 parent 89b1162 commit 0be59bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Paket.Bootstrapper/ArgumentParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ private static void FillDownloadOptionsFromArguments(DownloadArguments downloadA
var nugetSourceArg = commandArgs.SingleOrDefault(x => x.StartsWith(CommandArgs.NugetSourceArgPrefix));
if (nugetSourceArg != null)
{
commandArgs = commandArgs.Where(x => !x.StartsWith(CommandArgs.NugetSourceArgPrefix)).ToList();
commandArgs.Remove(nugetSourceArg);
downloadArguments.NugetSource = nugetSourceArg.Substring(CommandArgs.NugetSourceArgPrefix.Length);
}
if (commandArgs.Contains(CommandArgs.IgnoreCache))
Expand Down

0 comments on commit 0be59bd

Please sign in to comment.