removed duplicate args for dotnet new
This commit is contained in:
parent
32af9d9aef
commit
964d83d0f8
1 changed files with 4 additions and 4 deletions
|
@ -21,7 +21,7 @@ namespace EndToEnd.Tests
|
||||||
var directory = TestAssets.CreateTestDirectory();
|
var directory = TestAssets.CreateTestDirectory();
|
||||||
string projectDirectory = directory.FullName;
|
string projectDirectory = directory.FullName;
|
||||||
|
|
||||||
string newArgs = "console --debug:ephemeral-hive --no-restore";
|
string newArgs = "console --no-restore";
|
||||||
new NewCommandShim()
|
new NewCommandShim()
|
||||||
.WithWorkingDirectory(projectDirectory)
|
.WithWorkingDirectory(projectDirectory)
|
||||||
.Execute(newArgs)
|
.Execute(newArgs)
|
||||||
|
@ -59,7 +59,7 @@ namespace EndToEnd.Tests
|
||||||
var directory = TestAssets.CreateTestDirectory();
|
var directory = TestAssets.CreateTestDirectory();
|
||||||
string projectDirectory = directory.FullName;
|
string projectDirectory = directory.FullName;
|
||||||
|
|
||||||
string newArgs = "console --debug:ephemeral-hive --no-restore";
|
string newArgs = "console --no-restore";
|
||||||
new NewCommandShim()
|
new NewCommandShim()
|
||||||
.WithWorkingDirectory(projectDirectory)
|
.WithWorkingDirectory(projectDirectory)
|
||||||
.Execute(newArgs)
|
.Execute(newArgs)
|
||||||
|
@ -224,7 +224,7 @@ namespace EndToEnd.Tests
|
||||||
DirectoryInfo directory = TestAssets.CreateTestDirectory(identifier: templateName);
|
DirectoryInfo directory = TestAssets.CreateTestDirectory(identifier: templateName);
|
||||||
string projectDirectory = directory.FullName;
|
string projectDirectory = directory.FullName;
|
||||||
|
|
||||||
string newArgs = $"{templateName} --debug:ephemeral-hive";
|
string newArgs = $"{templateName}";
|
||||||
|
|
||||||
new NewCommandShim()
|
new NewCommandShim()
|
||||||
.WithWorkingDirectory(projectDirectory)
|
.WithWorkingDirectory(projectDirectory)
|
||||||
|
@ -406,7 +406,7 @@ namespace EndToEnd.Tests
|
||||||
DirectoryInfo directory = TestAssets.CreateTestDirectory(identifier: string.IsNullOrWhiteSpace(language) ? templateName : $"{templateName}[{language}]");
|
DirectoryInfo directory = TestAssets.CreateTestDirectory(identifier: string.IsNullOrWhiteSpace(language) ? templateName : $"{templateName}[{language}]");
|
||||||
string projectDirectory = directory.FullName;
|
string projectDirectory = directory.FullName;
|
||||||
|
|
||||||
string newArgs = $"{templateName} --debug:ephemeral-hive --no-restore";
|
string newArgs = $"{templateName} --no-restore";
|
||||||
if (!string.IsNullOrWhiteSpace(language))
|
if (!string.IsNullOrWhiteSpace(language))
|
||||||
{
|
{
|
||||||
newArgs += $" --language {language}";
|
newArgs += $" --language {language}";
|
||||||
|
|
Loading…
Reference in a new issue