File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
packages/core/src/codewhisperer/util Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -141,14 +141,8 @@ export class ZipUtil {
141141 return zipFilePath
142142 }
143143
144- protected getZipEntryPath ( projectName : string , relativePath : string , useCase ?: FeatureUseCase ) {
145- // Workspaces with multiple folders have the folder names as the root folder,
146- // but workspaces with only a single folder don't. So prepend the workspace folder name
147- // if it is not present.
148- if ( useCase === FeatureUseCase . TEST_GENERATION ) {
149- return path . join ( projectName , relativePath )
150- }
151- return relativePath . split ( '/' ) . shift ( ) === projectName ? relativePath : path . join ( projectName , relativePath )
144+ protected getZipEntryPath ( projectName : string , relativePath : string ) {
145+ return path . join ( projectName , relativePath )
152146 }
153147
154148 /**
You can’t perform that action at this time.
0 commit comments