Skip to content

Commit

Permalink
fix(cli): Correct baremetal deploy command construction (#10675)
Browse files Browse the repository at this point in the history
**Problem**
We introduced an error in the fix here: #10663

**Changes**
1. We ensure a space is present in the built command.
  • Loading branch information
Josh-Walker-GM committed May 22, 2024
1 parent fedb664 commit 4097d48
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changesets/10675.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- fix(cli): Correct baremetal deploy command construction (#10675) by @Josh-Walker-GM

We correct a bug in the CLI introduced in the prior patch for baremetal deployments.
2 changes: 1 addition & 1 deletion packages/cli/src/commands/deploy/baremetal/SshExecutor.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export class SshExecutor {
*/
async exec(path, command, args) {
const argsString = args?.join(' ') || ''
const sshCommand = command + argsString
const sshCommand = command + (argsString ? ` ${argsString}` : '')

if (this.verbose) {
console.log(
Expand Down

0 comments on commit 4097d48

Please sign in to comment.