Skip to content

Commit

Permalink
fix cli
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinidadec committed Nov 15, 2023
1 parent f67279a commit 77ce277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ if (args.length < 2) {
}

const hostName = args[2]
const getFunc = hostName === undefined ? getLocal : getRemote(hostName)
const getFunc = hostName === undefined ? getLocal({}) : getRemote({})(hostName)
getFunc(node)([args[0], args[1]])

0 comments on commit 77ce277

Please sign in to comment.