Skip to content

Commit

Permalink
fix a bug where there were no parameters after the executable in cmd …
Browse files Browse the repository at this point in the history
…instructions
  • Loading branch information
blueoly authored Feb 9, 2020
1 parent e55d3ad commit 8e6818c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/gr/aueb/balab/jadolint/model/Cmd.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ public Cmd(String line){
String[] splitLine = lineWithoutInstruction.split(" ");

executable = splitLine[0].trim();
params = splitLine[1].trim();

if(splitLine.length > 1)
params = splitLine[1].trim();

execForm = false;
}
Expand Down

0 comments on commit 8e6818c

Please sign in to comment.