correct arguments for dotnet sln commands
This commit is contained in:
parent
86f26550f1
commit
5c4db56d3b
5 changed files with 39 additions and 24 deletions
|
@ -17,7 +17,7 @@ namespace Microsoft.DotNet.Tools.Sln.Add
|
|||
private readonly AppliedOption _appliedCommand;
|
||||
private readonly string _fileOrDirectory;
|
||||
|
||||
public AddProjectToSolutionCommand(AppliedOption appliedCommand)
|
||||
public AddProjectToSolutionCommand(AppliedOption appliedCommand, string fileOrDirectory)
|
||||
{
|
||||
if (appliedCommand == null)
|
||||
{
|
||||
|
@ -25,7 +25,7 @@ namespace Microsoft.DotNet.Tools.Sln.Add
|
|||
}
|
||||
_appliedCommand = appliedCommand;
|
||||
|
||||
_fileOrDirectory = appliedCommand.Arguments.Single();
|
||||
_fileOrDirectory = fileOrDirectory;
|
||||
}
|
||||
|
||||
public override int Execute()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue