Skip to content

Commit

Permalink
Remove unnecessary string formatting for sshCommand (#626)
Browse files Browse the repository at this point in the history
  • Loading branch information
asgorobets authored and greg-1-anderson committed Oct 20, 2017
1 parent 7eea0d3 commit 047af4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Task/Remote/Ssh.php
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,6 @@ protected function sshCommand($command)
$hostSpec = $this->user . '@' . $hostSpec;
}

return sprintf("ssh{$sshOptions} {$hostSpec} '{$command}'");
return "ssh{$sshOptions} {$hostSpec} '{$command}'";
}
}

0 comments on commit 047af4b

Please sign in to comment.