Skip to content

Commit 8d0ec79

Browse files
authored
Merge pull request #33 from codingo/strip-fix
Strip fix
2 parents 5a297b0 + c4a26d0 commit 8d0ec79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Interlace/lib/core/input.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,10 +181,10 @@ def process_commands(arguments):
181181
targets -= exclusions
182182

183183
if arguments.command:
184-
commands.add(arguments.command)
184+
commands.add(arguments.command.rstrip('\n'))
185185
else:
186186
for command in arguments.command_list:
187-
commands.add(command.strip())
187+
commands.add(command.rstrip('\n'))
188188

189189
final_commands = InputHelper._replace_variable_for_commands(commands, "_target_", targets)
190190
final_commands = InputHelper._replace_variable_for_commands(final_commands, "_host_", targets)

0 commit comments

Comments
 (0)