File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
packages/core/src/awsService/ec2 Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import { ToolkitError } from '../../shared/errors'
88import { tryRun } from '../../shared/utilities/pathFind'
99import { Timeout } from '../../shared/utilities/timeoutUtils'
1010import { findAsync } from '../../shared/utilities/collectionUtils'
11+ import { ChildProcess } from '../../shared/utilities/childProcess'
1112
1213type sshKeyType = 'rsa' | 'ed25519'
1314
@@ -46,7 +47,7 @@ export class SshKeyPair {
4647 * @param keyType type of key to generate.
4748 */
4849 public static async tryKeyGen ( keyPath : string , keyType : sshKeyType ) : Promise < boolean > {
49- const overrideKeys = async ( proc : any , _t : string ) => {
50+ const overrideKeys = async ( proc : ChildProcess , _t : string ) => {
5051 await proc . send ( 'yes' )
5152 }
5253 return ! ( await tryRun (
You can’t perform that action at this time.
0 commit comments