Fix typo that broke `--no-restore`

- `NoRestore` was checked when registering `repo-initialize` target instead of when executing it
This commit is contained in:
Doug Bunting 2016-02-10 10:54:39 -08:00
parent 5444297795
commit cb4d93ce74
1 changed files with 2 additions and 2 deletions

View File

@ -68,8 +68,8 @@ default NUGET_FEED = 'https://api.nuget.org/v3/index.json'
-// Target order is important because clean-npm-modules may (re)create bin folder.
#deep-clean .clean-npm-modules .clean-bin-folder description='Clean folders that may cause problems for `git clean`.'
#repo-initialize target='initialize' if='!NoRestore'
dotnet-restore
#repo-initialize target='initialize'
dotnet-restore if='!NoRestore'
#target-dir-clean target='clean'
@{