Skip to content

Commit a4b01f1

Browse files
change name to proc
Co-authored-by: Justin M. Keyes <[email protected]>
1 parent ab810f9 commit a4b01f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/awsService/ec2/sshKeyPair.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ export class SshKeyPair {
4747
* @param keyType type of key to generate.
4848
*/
4949
public static async tryKeyGen(keyPath: string, keyType: sshKeyType): Promise<boolean> {
50-
const overrideKeys = async (_t: string, context: RunParameterContext) => {
51-
await context.send('yes')
50+
const overrideKeys = async (_t: string, proc: RunParameterContext) => {
51+
await proc.send('yes')
5252
}
5353
return !(await tryRun('ssh-keygen', ['-t', keyType, '-N', '', '-q', '-f', keyPath], 'yes', 'unknown key type', {
5454
onStdout: overrideKeys,

0 commit comments

Comments
 (0)