File tree 1 file changed +0
-5
lines changed
1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ export async function validateExportStream(
11
11
tarStream : Readable
12
12
) : Promise < { valid : boolean ; errors : string [ ] } > {
13
13
console . log ( 'Validating export stream...' )
14
- console . log ( 'length of tarStream: ' , tarStream )
15
14
const extract = tar . extract ( )
16
15
const errors : string [ ] = [ ]
17
16
const requiredFiles = [
@@ -24,7 +23,6 @@ export async function validateExportStream(
24
23
return await new Promise ( ( resolve ) => {
25
24
extract . on ( 'entry' , ( header , stream , next ) => {
26
25
const fileName = header . name . toLowerCase ( ) // Normalize file name
27
- console . log ( `Processing file: ${ fileName } ` ) // Log the file name
28
26
foundFiles . add ( fileName )
29
27
30
28
let content = ''
@@ -64,9 +62,6 @@ export async function validateExportStream(
64
62
} )
65
63
66
64
extract . on ( 'finish' , ( ) => {
67
- console . log ( 'Found files:' , Array . from ( foundFiles ) ) // Debug log
68
- console . log ( 'Required files:' , requiredFiles ) // Debug log
69
-
70
65
// Check if all required files are present
71
66
for ( const file of requiredFiles ) {
72
67
if ( ! foundFiles . has ( file ) ) {
You can’t perform that action at this time.
0 commit comments