Remote extra record separator from `sh' task action
This commit is contained in:
1 parent
347e6f80c7
commit
bf25b05adb
5 files changed
+6
-7
No files matched your search
@@ -4,7 +4,6 @@ module Producer
|
||||
class ShellCommand < Action
|
||||
def apply
|
||||
remote.execute(arguments.first, output)
|
||||
output.puts
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -12,7 +12,7 @@ module Producer
|
||||
|
||||
case program
|
||||
when 'echo'
|
||||
output << tokens.join(' ')
|
||||
output << tokens.join(' ') << "\n"
|
||||
when 'true'
|
||||
output << ''
|
||||
when 'false'
|
||||
|
||||
Reference in new issue
Block a user