Merge pull request #7292 from dotnet/stevesa/update-spa-templates-to-1.0.417

Update spa templates to 1.0.417
This commit is contained in:
Livar 2017-07-27 11:26:40 -07:00 committed by GitHub
commit 54377abbec
2 changed files with 2 additions and 3 deletions

View file

@ -42,8 +42,7 @@ namespace Microsoft.DotNet.New.Tests
bool skipSpaWebpackSteps)
{
string rootPath = TestAssets.CreateTestDirectory(identifier: $"{language}_{projectType}").FullName;
//This works around the SPA templates not currently supporting the "--no-restore" switch
string noRestoreDirective = skipSpaWebpackSteps ? "" : "--no-restore";
string noRestoreDirective = "--no-restore";
new TestCommand("dotnet") { WorkingDirectory = rootPath }
.Execute($"new {projectType} -lang {language} -o {rootPath} --debug:ephemeral-hive {noRestoreDirective}")