mirror of
https://github.com/codingo/Interlace.git
synced 2025-12-17 23:04:24 +01:00
Added in trailing new line removal now
This commit is contained in:
@@ -181,10 +181,10 @@ class InputHelper(object):
|
||||
targets -= exclusions
|
||||
|
||||
if arguments.command:
|
||||
commands.add(arguments.command)
|
||||
commands.add(arguments.command.rstrip('\n'))
|
||||
else:
|
||||
for command in arguments.command_list:
|
||||
commands.add(command)
|
||||
commands.add(command.rstrip('\n'))
|
||||
|
||||
final_commands = InputHelper._replace_variable_for_commands(commands, "_target_", targets)
|
||||
final_commands = InputHelper._replace_variable_for_commands(final_commands, "_host_", targets)
|
||||
|
||||
Reference in New Issue
Block a user