Skip to content

Commit 5a06c2a

Browse files
committed
Merge branch 'master' into lint/noCopyPaste2
2 parents 9d93639 + e8d62f1 commit 5a06c2a

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

packages/amazonq/test/unit/codewhisperer/util/runtimeLanguageContext.test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,6 @@ describe('runtimeLanguageContext', function () {
211211
]
212212

213213
for (const [inputCwsprLanguageId, expectedCwsprLanguageId] of codewhispererLanguageIds) {
214-
if (inputCwsprLanguageId === 'systemVerilog') {
215-
console.log()
216-
}
217214
it(`should return ${expectedCwsprLanguageId} if input codewhispererLanguageId is - ${inputCwsprLanguageId}`, function () {
218215
const actual = languageContext.toRuntimeLanguage(inputCwsprLanguageId)
219216
assert.strictEqual(actual, expectedCwsprLanguageId)

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,17 @@ const runtimeLanguageSet: ReadonlySet<RuntimeLanguage> = new Set([
2121
'kotlin',
2222
'php',
2323
'python',
24+
'powershell',
25+
'r',
26+
'dart',
2427
'ruby',
2528
'rust',
2629
'scala',
2730
'shell',
2831
'sql',
32+
'swift',
33+
'lua',
34+
'vue',
2935
'typescript',
3036
'json',
3137
'yaml',

0 commit comments

Comments
 (0)