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

@ -30,7 +30,7 @@
<CliCommandLineParserVersion>0.1.1-alpha-167</CliCommandLineParserVersion>
<CliMigrateVersion>1.2.1-alpha-002133</CliMigrateVersion>
<MicroBuildVersion>0.2.0</MicroBuildVersion>
<SpaTemplateVersion>1.0.0-preview-000409</SpaTemplateVersion>
<SpaTemplateVersion>1.0.417</SpaTemplateVersion>
<XliffTasksVersion>0.2.0-beta-000042</XliffTasksVersion>
<!-- This should either be timestamped or notimestamp as appropriate -->

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}")