Implement Action#remote (delegates to env.remote)
This commit is contained in:
@@ -3,7 +3,7 @@ module Producer
|
||||
module Actions
|
||||
class FileWriter < Action
|
||||
def apply
|
||||
env.remote.fs.file_write path, content
|
||||
remote.fs.file_write path, content
|
||||
end
|
||||
|
||||
def path
|
||||
|
@@ -3,7 +3,7 @@ module Producer
|
||||
module Actions
|
||||
class ShellCommand < Action
|
||||
def apply
|
||||
output.puts env.remote.execute(arguments.first)
|
||||
output.puts remote.execute(arguments.first)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user