Skip to content

Commit

Permalink
missing space
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Watt committed Nov 11, 2022
1 parent e3773f9 commit c67c7ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lua/remote-dev/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2703,7 +2703,7 @@ local function connectToHost()
if not remoteDirPath then
return
end
local portSuffix = not selectedHost.port and "" or "-p " .. tostring(selectedHost.port)
local portSuffix = not selectedHost.port and "" or " -p " .. tostring(selectedHost.port)
local password = vim.fn.input("enter password: ")
if sshfsConnect({
selectedHost = selectedHost,
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const connectToHost = ()=>{
const remoteDirPath = vim.fn.input("enter remote dir: ")
if(!remoteDirPath) return

const portSuffix = !selectedHost.port ? "":`-p ${selectedHost.port}`
const portSuffix = !selectedHost.port ? "":` -p ${selectedHost.port}`

const password = vim.fn.input("enter password: ")

Expand Down

0 comments on commit c67c7ba

Please sign in to comment.