Skip to content

Commit 699d032

Browse files
committed
case ignore
1 parent bd4c34e commit 699d032

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/codewhisperer/util/commonUtil.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export function isSupportedJsonFormat(fileName: string, leftFileContent: string,
7070
language === 'json' &&
7171
!AWSTemplateKeyWords.some((substring) => leftFileContent.includes(substring)) &&
7272
!AWSTemplateCaseInsensitiveKeyWords.some((substring) => leftFileContent.toLowerCase().includes(substring)) &&
73-
!JsonConfigFileNamingConvention.has(fileName)
73+
!JsonConfigFileNamingConvention.has(fileName.toLowerCase())
7474
) {
7575
return true
7676
}

0 commit comments

Comments
 (0)