Skip to content

Commit c3ef6e1

Browse files
committed
make any type, because import fails
1 parent ca6c65f commit c3ef6e1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import { ToolkitError } from '../../shared/errors'
88
import { tryRun } from '../../shared/utilities/pathFind'
99
import { Timeout } from '../../shared/utilities/timeoutUtils'
1010
import { findAsync } from '../../shared/utilities/collectionUtils'
11-
import { ChildProcess } from '../../shared/utilities/childProcess'
1211

1312
type sshKeyType = 'rsa' | 'ed25519'
1413

@@ -47,7 +46,7 @@ export class SshKeyPair {
4746
* @param keyType type of key to generate.
4847
*/
4948
public static async tryKeyGen(keyPath: string, keyType: sshKeyType): Promise<boolean> {
50-
const overrideKeys = async (proc: ChildProcess, _t: string) => {
49+
const overrideKeys = async (proc: any, _t: string) => {
5150
await proc.send('yes')
5251
}
5352
return !(await tryRun(

0 commit comments

Comments
 (0)