Skip to content

Commit def8967

Browse files
committed
Remove unnecessary type enforcing
1 parent b1d0e40 commit def8967

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/codewhisperer/region/regionProfileManager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,11 +328,11 @@ export class RegionProfileManager {
328328
}
329329
}
330330

331-
requireProfileSelection(): boolean {
331+
requireProfileSelection() {
332332
if (AuthUtil.instance.isBuilderIdConnection()) {
333333
return false
334334
}
335-
return Boolean(AuthUtil.instance.isIdcConnection() && this.activeRegionProfile === undefined)
335+
return AuthUtil.instance.isIdcConnection() && this.activeRegionProfile === undefined
336336
}
337337

338338
async createQClient(region: string, endpoint: string): Promise<CodeWhispererUserClient> {

0 commit comments

Comments
 (0)