Remove template test workaround because it's no longer needed
This commit is contained in:
parent
5af7786c45
commit
f08bdbdf89
1 changed files with 1 additions and 2 deletions
|
@ -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}")
|
||||
|
|
Loading…
Reference in a new issue