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