Skip to content

Commit b84e5e8

Browse files
Merge staging into feature/lambda-get-started
2 parents 9fba6b2 + caba5dd commit b84e5e8

File tree

1 file changed

+1
-1
lines changed
  • packages/core/src/codewhisperer/util/supplementalContext

1 file changed

+1
-1
lines changed

packages/core/src/codewhisperer/util/supplementalContext/utgUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ async function findSourceFileByContent(
129129

130130
throwIfCancelled(cancellationToken)
131131

132-
testElementList.push(...extractClasses(editor.document.fileName, languageConfig.classExtractionPattern))
132+
testElementList.push(...extractClasses(testFileContent, languageConfig.classExtractionPattern))
133133

134134
throwIfCancelled(cancellationToken)
135135

0 commit comments

Comments
 (0)