@@ -182,10 +182,6 @@ export class ArtifactManager {
182182 //if can't generate hash then file copy failed previously
183183 continue
184184 }
185- if ( contentHash . length == 0 ) {
186- //if can't generate hash then file copy failed previously
187- continue
188- }
189185 const relativePath = this . normalizeSourceFileRelativePath ( request . SolutionRootPath , filePath )
190186 codeFiles . push ( {
191187 contentMd5Hash : contentHash ,
@@ -331,15 +327,6 @@ export class ArtifactManager {
331327 if ( failedCopies . length > 0 ) {
332328 this . logging . log ( `Files - ${ failedCopies . join ( ',' ) } - could not be copied.` )
333329 }
334- this . logging . log (
335- `Files with extensions ${ filteredExtensions . join ( ', ' ) } are not zipped, as they are not necessary for transformation`
336- )
337- this . logging . log (
338- `Files in directories ${ filteredDirectories . join ( ', ' ) } are not zipped, as they are not necessary for transformation`
339- )
340- if ( failedCopies . length > 0 ) {
341- this . logging . log ( `Files - ${ failedCopies . join ( ',' ) } - could not be copied.` )
342- }
343330 const zipPath = path . join ( this . workspacePath , zipFileName )
344331 this . logging . log ( 'Zipping files to ' + zipPath )
345332 await this . zipDirectory ( folderPath , zipPath )
@@ -441,8 +428,6 @@ export class ArtifactManager {
441428 this . logging . log ( `Failed to copy from ${ sourceFilePath } and error is ${ err } ` )
442429 failedCopies . push ( sourceFilePath )
443430 resolve ( )
444- failedCopies . push ( sourceFilePath )
445- resolve ( )
446431 } else {
447432 resolve ( )
448433 }
0 commit comments