Skip to content

Commit f1619e3

Browse files
committed
temporarily comment out assertion
1 parent 7f0698c commit f1619e3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@ export class SshKeyPair {
3737
if (!keyGenerated) {
3838
throw new ToolkitError('ec2: Unable to generate ssh key pair with either ed25519 or rsa')
3939
}
40-
if (!(await fs.exists(keyPath))) {
41-
throw new ToolkitError(`ec2: Failed to generate keys, resulting key not found at ${keyPath}`)
42-
}
40+
// This throws on windows.
41+
// if (!(await fs.exists(keyPath))) {
42+
// throw new ToolkitError(`ec2: Failed to generate keys, resulting key not found at ${keyPath}`)
43+
// }
4344
}
4445

4546
public static async generateSshKeyPair(keyPath: string): Promise<void> {

0 commit comments

Comments
 (0)