Just ignore empty lines
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
9931c9a286
commit
5912ef3b45
@ -87,8 +87,8 @@ public final class EntryPoint {
|
|||||||
|
|
||||||
private static PreLaunchAction parseLine(String input, Parameters params) throws ParseException
|
private static PreLaunchAction parseLine(String input, Parameters params) throws ParseException
|
||||||
{
|
{
|
||||||
if (input.isEmpty()) // TODO: 2022-11-01 Should we just ignore this?
|
if (input.isEmpty())
|
||||||
throw new ParseException("Unexpected empty string! You should not pass empty newlines to stdin.");
|
return PreLaunchAction.PROCEED;
|
||||||
|
|
||||||
if ("launch".equalsIgnoreCase(input))
|
if ("launch".equalsIgnoreCase(input))
|
||||||
return PreLaunchAction.LAUNCH;
|
return PreLaunchAction.LAUNCH;
|
||||||
|
Loading…
Reference in New Issue
Block a user