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