Skip to content

Commit

Permalink
Trim arguments on IF command.
Browse files Browse the repository at this point in the history
  • Loading branch information
aufdemrand committed Apr 8, 2013
1 parent e32e0a6 commit 6e2ace8
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -66,6 +66,9 @@ public void parseArgs(ScriptEntry scriptEntry) throws InvalidArgumentsException

// Iterate through the arguments, build comparables
for (String arg : scriptEntry.getArguments()) {

arg = arg.trim();

if (outcomeCommand == null) {
// Set logic (Optional, default is REGULAR)
if (arg.startsWith("!")) {
Expand Down

0 comments on commit 6e2ace8

Please sign in to comment.