Accessory already knows its host

This commit is contained in:
David Heinemeier Hansson
2023-02-01 14:04:36 +01:00
parent 00afd5c6fc
commit 1840f667d3
2 changed files with 4 additions and 4 deletions

View File

@@ -63,12 +63,12 @@ class Mrsk::Commands::Accessory < Mrsk::Commands::Base
*command
end
def exec_over_ssh(*command, host:)
def exec_over_ssh(*command)
run_over_ssh run_exec(*command, interactive: true).join(" "), host: host
end
def bash(host:)
exec_over_ssh "bash", host: host
def bash
exec_over_ssh "bash"
end
def ensure_local_file_present(local_file)