Skip to content

Commit 90f19f2

Browse files
author
David Hasani
committed
fix linter
1 parent b7ef764 commit 90f19f2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@ export async function transformationJobErrorHandler(error: any) {
734734
transformByQState.setToFailed()
735735
transformByQState.setPolledJobStatus('FAILED')
736736
// jobFailureErrorNotification should always be defined here
737-
let displayedErrorMessage =
737+
const displayedErrorMessage =
738738
transformByQState.getJobFailureErrorNotification() ?? CodeWhispererConstants.failedToCompleteJobNotification
739739
transformByQState.setJobFailureErrorChatMessage(
740740
transformByQState.getJobFailureErrorChatMessage() ?? CodeWhispererConstants.failedToCompleteJobChatMessage

packages/core/src/codewhisperer/service/transformByQ/transformMavenHandler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { setMaven } from './transformFileHandler'
1212
import { throwIfCancelled } from './transformApiHandler'
1313
import { sleep } from '../../../shared/utilities/timeoutUtils'
1414
import path from 'path'
15-
import { globals } from '../../../shared'
15+
import globals from '../../../shared/extensionGlobals'
1616

1717
function collectDependenciesAndMetadata(dependenciesFolderPath: string, workingDirPath: string) {
1818
getLogger().info('CodeTransformation: running mvn clean test-compile with maven JAR')

0 commit comments

Comments
 (0)