Skip to content

Commit 697f4bc

Browse files
committed
avoid unnecessary churn
1 parent b2890bd commit 697f4bc

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
*/
55
import { fs } from '../../shared'
66
import { ToolkitError } from '../../shared/errors'
7+
import { tryRun } from '../../shared/utilities/pathFind'
78
import { Timeout } from '../../shared/utilities/timeoutUtils'
89
import { findAsync } from '../../shared/utilities/collectionUtils'
910
import { RunParameterContext } from '../../shared/utilities/processUtils'
10-
import { tryRun } from '../../shared/utilities/pathFind'
1111

1212
type sshKeyType = 'rsa' | 'ed25519'
1313

packages/core/src/codewhisperer/commands/basicCommands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ import { ToolkitError, getTelemetryReason, getTelemetryReasonDesc } from '../../
4141
import { isRemoteWorkspace } from '../../shared/vscode/env'
4242
import { isBuilderIdConnection } from '../../auth/connection'
4343
import globals from '../../shared/extensionGlobals'
44-
import { setContext } from '../../shared/vscode/setContext'
4544
import { getVscodeCliPath, tryRun } from '../../shared/utilities/pathFind'
45+
import { setContext } from '../../shared/vscode/setContext'
4646

4747
const MessageTimeOut = 5_000
4848

packages/core/src/shared/remoteSession.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ import { getLogger } from './logger/logger'
1818
import { getOrInstallCli } from './utilities/cliUtils'
1919
import { pushIf } from './utilities/collectionUtils'
2020
import { ChildProcess } from './utilities/processUtils'
21+
import { findSshPath, getVscodeCliPath } from './utilities/pathFind'
2122
import { IamClient } from './clients/iamClient'
2223
import { IAM } from 'aws-sdk'
2324
import { getIdeProperties } from './extensionUtilities'
24-
import { findSshPath, getVscodeCliPath } from './utilities/pathFind'
2525

2626
const policyAttachDelay = 5000
2727

@@ -30,7 +30,7 @@ export interface MissingTool {
3030
readonly reason?: string
3131
}
3232

33-
export const minimumSsmActions = [
33+
const minimumSsmActions = [
3434
'ssmmessages:CreateControlChannel',
3535
'ssmmessages:CreateDataChannel',
3636
'ssmmessages:OpenControlChannel',

packages/core/src/shared/sam/debugger/typescriptSamDebug.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ import { findParentProjectFile } from '../../utilities/workspaceUtils'
1616
import { DefaultSamLocalInvokeCommand, waitForDebuggerMessages } from '../cli/samCliLocalInvoke'
1717
import { runLambdaFunction, waitForPort } from '../localLambdaRunner'
1818
import { SamLaunchRequestArgs } from './awsSamDebugger'
19-
import fs from '../../fs/fs'
2019
import { findTypescriptCompiler } from '../../utilities/pathFind'
20+
import fs from '../../fs/fs'
2121

2222
const tsConfigFile = 'aws-toolkit-tsconfig.json'
2323

0 commit comments

Comments
 (0)