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 a80ae37 commit 2d0b39cCopy full SHA for 2d0b39c
packages/core/src/codewhisperer/util/zipUtil.ts
@@ -412,9 +412,11 @@ export class ZipUtil {
412
413
const sourceFiles = await collectFiles(
414
projectPaths,
415
- [...(vscode.workspace.workspaceFolders ?? [])].sort(
416
- (a, b) => b.uri.fsPath.length - a.uri.fsPath.length
417
- ) as CurrentWsFolders,
+ (useCase === FeatureUseCase.TEST_GENERATION
+ ? [...(vscode.workspace.workspaceFolders ?? [])].sort(
+ (a, b) => b.uri.fsPath.length - a.uri.fsPath.length
418
+ )
419
+ : vscode.workspace.workspaceFolders) as CurrentWsFolders,
420
{
421
maxSizeBytes: this.getProjectScanPayloadSizeLimitInBytes(),
422
},
0 commit comments