We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67f43d9 commit 42fcb3dCopy full SHA for 42fcb3d
src/Cli/dotnet/Commands/Reference/List/ReferenceListCommand.cs
@@ -20,7 +20,8 @@ public ReferenceListCommand(
20
21
_fileOrDirectory = parseResult.HasOption(ReferenceCommandParser.ProjectOption) ?
22
parseResult.GetValue(ReferenceCommandParser.ProjectOption) :
23
- parseResult.GetValue(ListCommandParser.SlnOrProjectArgument);
+ parseResult.GetValue(ListCommandParser.SlnOrProjectArgument) ??
24
+ Directory.GetCurrentDirectory();
25
}
26
27
public override int Execute()
0 commit comments