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 c2a8c62 commit 5cd152cCopy full SHA for 5cd152c
ElectronNET.CLI/Commands/BuildCommand.cs
@@ -61,7 +61,7 @@ public Task<bool> ExecuteAsync()
61
if (parser.Arguments.ContainsKey(_paramVersion))
62
version = parser.Arguments[_paramVersion][0];
63
64
- if (!parser.Arguments.ContainsKey(_paramTarget))
+ if (!parser.Arguments.ContainsKey(_paramTarget) || parser.Arguments[_paramTarget].Length == 0)
65
{
66
Console.WriteLine($"Error: missing '{_paramTarget}' argument.");
67
Console.WriteLine(COMMAND_ARGUMENTS);
0 commit comments