File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
packages/core/src/codewhisperer/service/transformByQ Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -333,16 +333,13 @@ export async function zipCode(
333333 target : transformByQState . getTargetDB ( ) ,
334334 schema : transformByQState . getSchema ( ) ,
335335 host : transformByQState . getSourceServerName ( ) ,
336- sctFileName : metadataZip . getEntries ( ) . filter ( ( entry ) => entry . entryName . endsWith ( '.sct' ) ) [ 0 ]
337- . entryName ,
336+ sctFileName : metadataZip . getEntries ( ) . filter ( ( entry ) => entry . name . endsWith ( '.sct' ) ) [ 0 ] . name ,
338337 } ,
339338 }
340339 // TO-DO: later consider making this add to path.join(zipManifest.dependenciesRoot, 'qct-sct-metadata', entry.entryName) so that it's more organized
341340 metadataZip
342341 . getEntries ( )
343- . forEach ( ( entry ) =>
344- zip . addFile ( path . join ( zipManifest . dependenciesRoot , entry . entryName ) , entry . getData ( ) )
345- )
342+ . forEach ( ( entry ) => zip . addFile ( path . join ( zipManifest . dependenciesRoot , entry . name ) , entry . getData ( ) ) )
346343 const sqlMetadataSize = ( await nodefs . promises . stat ( transformByQState . getMetadataPathSQL ( ) ) ) . size
347344 getLogger ( ) . info ( `CodeTransformation: SQL metadata file size = ${ sqlMetadataSize } ` )
348345 }
You can’t perform that action at this time.
0 commit comments