We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd4c34e commit 699d032Copy full SHA for 699d032
packages/core/src/codewhisperer/util/commonUtil.ts
@@ -70,7 +70,7 @@ export function isSupportedJsonFormat(fileName: string, leftFileContent: string,
70
language === 'json' &&
71
!AWSTemplateKeyWords.some((substring) => leftFileContent.includes(substring)) &&
72
!AWSTemplateCaseInsensitiveKeyWords.some((substring) => leftFileContent.toLowerCase().includes(substring)) &&
73
- !JsonConfigFileNamingConvention.has(fileName)
+ !JsonConfigFileNamingConvention.has(fileName.toLowerCase())
74
) {
75
return true
76
}
0 commit comments