diff --git a/src/server/command/ssh.ts b/src/server/command/ssh.ts index bc75aab..a453f9a 100644 --- a/src/server/command/ssh.ts +++ b/src/server/command/ssh.ts @@ -6,11 +6,12 @@ export default function sshOptions( { pass, path, command, host, port, auth, knownhosts }: { [s: string]: string }, key?: string ): string[] { + var hostChecking; const cmd = parseCommand(command, path); if (knownhosts !== '/dev/null') { - var hostChecking = 'yes'; + hostChecking = 'yes'; } else { - var hostChecking = 'no'; + hostChecking = 'no'; } const sshRemoteOptsBase = [ 'ssh',