Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Use --no-cache when restoring packages in 1.0.0 (#4302)
Browse files Browse the repository at this point in the history
  • Loading branch information
wtgodbe authored Jun 26, 2018
1 parent 6c61d49 commit cacf8d6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build_projects/shared-build-targets-utils/Utils/DotNetCli.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ public Command Exec(string command, params string[] args)
{
var newArgs = args.ToList();
newArgs.Insert(0, command);
if (command == "restore")
{
newArgs.Insert(1, "--no-cache");
}

if (EnvVars.Verbose)
{
Expand Down

0 comments on commit cacf8d6

Please sign in to comment.