File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -34,8 +34,7 @@ command
3434 }
3535
3636 if ( path . extname ( directory ) . toLowerCase ( ) === constants . ZIP_EXTENSION ) {
37- ctx . log . debug ( `Zips are not accepted. ${ directory } ` )
38- console . log ( `Error: The provided directory ${ directory } is a zip file. Zips are not accepted.` ) ;
37+ ctx . log . debug ( `Error: The provided directory ${ directory } is a zip file. Zips are not accepted.` ) ;
3938 return ;
4039 }
4140 ctx . uploadFilePath = directory ;
Original file line number Diff line number Diff line change @@ -227,8 +227,8 @@ export async function uploadScreenshots(ctx: Context): Promise<void> {
227227
228228 await processDirectory ( ctx . uploadFilePath ) ;
229229 if ( noOfScreenshots == 0 ) {
230- console . log ( `No screenshots uploaded.` ) ;
230+ ctx . log . info ( `No screenshots uploaded.` ) ;
231231 } else {
232- console . log ( `${ noOfScreenshots } screenshots uploaded successfully.` ) ;
232+ ctx . log . info ( `${ noOfScreenshots } screenshots uploaded successfully.` ) ;
233233 }
234234}
You can’t perform that action at this time.
0 commit comments