Skip to content

Commit

Permalink
reading password from stdin
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Watt committed Nov 11, 2022
1 parent 670656d commit 96f792f
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 @@ -2692,7 +2692,7 @@ local function connectToHost()
function(____, host) return host.name == hostLabel end
)
if not selectedHost then
return
return print("host not found")
end
local dirname = "ioaENHtoieaHNT"
local localDirPath = (tostring(HOME) .. "/") .. dirname
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const sshfsConnect = ({
const connectToHost = ()=>{
const hostLabel = vim.fn.input("enter host label: ")
const selectedHost = sshHosts.find(host => host.name===hostLabel)
if (!selectedHost) return
if (!selectedHost) return print("host not found")

const dirname = "ioaENHtoieaHNT"
const localDirPath = `${HOME}/${dirname}`
Expand Down

0 comments on commit 96f792f

Please sign in to comment.