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 @@ -334,16 +334,13 @@ export async function zipCode(
334334 target : transformByQState . getTargetDB ( ) ,
335335 schema : transformByQState . getSchema ( ) ,
336336 host : transformByQState . getSourceServerName ( ) ,
337- sctFileName : metadataZip . getEntries ( ) . filter ( ( entry ) => entry . entryName . endsWith ( '.sct' ) ) [ 0 ]
338- . entryName ,
337+ sctFileName : metadataZip . getEntries ( ) . filter ( ( entry ) => entry . name . endsWith ( '.sct' ) ) [ 0 ] . name ,
339338 } ,
340339 }
341340 // TO-DO: later consider making this add to path.join(zipManifest.dependenciesRoot, 'qct-sct-metadata', entry.entryName) so that it's more organized
342341 metadataZip
343342 . getEntries ( )
344- . forEach ( ( entry ) =>
345- zip . addFile ( path . join ( zipManifest . dependenciesRoot , entry . entryName ) , entry . getData ( ) )
346- )
343+ . forEach ( ( entry ) => zip . addFile ( path . join ( zipManifest . dependenciesRoot , entry . name ) , entry . getData ( ) ) )
347344 const sqlMetadataSize = ( await nodefs . promises . stat ( transformByQState . getMetadataPathSQL ( ) ) ) . size
348345 getLogger ( ) . info ( `CodeTransformation: SQL metadata file size = ${ sqlMetadataSize } ` )
349346 }
You can’t perform that action at this time.
0 commit comments