Skip to content

Commit d8f3fe7

Browse files
committed
fix(amazonq): suppress linter
1 parent 083a5d4 commit d8f3fe7

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

packages/amazonq/src/app/inline/customizationService.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,12 @@ import { LanguageClient } from 'vscode-languageclient'
2929
import { telemetry } from 'aws-core-vscode/telemetry'
3030

3131
/*
32-
This class is a consolidates core/src/codewhisperer/util/customizationUtil.ts and the customization commands into a class
32+
This class consolidates core/src/codewhisperer/util/customizationUtil.ts and the customization commands into a class
3333
The main difference is in the getCustomizationsFromLsp and notifySelectedCustomizationToLsp functions
3434
The original file and commands can be deprecated later
3535
*/
36+
37+
// jscpd:ignore-start
3638
export class CustomizationService {
3739
constructor(private readonly client: LanguageClient) {}
3840

@@ -403,3 +405,4 @@ export class CustomizationService {
403405
return isNewCustomization ? ' New' : ''
404406
}
405407
}
408+
// jscpd:ignore-end

packages/amazonq/test/unit/amazonq/apps/inline/customizationService.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import { getConfigurationFromServerRequestType } from '@aws/language-server-runt
2222

2323
const enterpriseSsoStartUrl = 'https://enterprise.awsapps.com/start'
2424

25+
// jscpd:ignore-start
2526
describe('CustomizationService', function () {
2627
let auth: ReturnType<typeof createTestAuth>
2728
let ssoConn: SsoConnection
@@ -160,3 +161,4 @@ describe('CustomizationService', function () {
160161
assert.strictEqual(customizationService.getSelectedCustomization().arn, 'OVERRIDE_V2')
161162
})
162163
})
164+
// jscpd:ignore-end

0 commit comments

Comments
 (0)