File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ export default async function compress(context: Context): Promise<boolean> {
121
121
}
122
122
}
123
123
124
- report = stdout . isTTY ? new TTYReport ( context ) : new Report ( context ) ;
124
+ report = stdout . isTTY && toCompress . length < 30 ? new TTYReport ( context ) : new Report ( context ) ;
125
125
let success : boolean = true ;
126
126
for ( let iterator : number = 0 ; iterator < toCompress . length ; iterator += COMPRESSION_CONCURRENCY ) {
127
127
if ( iterator === 0 ) {
Original file line number Diff line number Diff line change 17
17
import { Context } from '../../validation/Condition' ;
18
18
19
19
const SPACE_AFTER_PATH = 2 ;
20
- const MAX_ALLOWED_PATH_LENGTH = 30 ;
20
+ const MAX_ALLOWED_PATH_LENGTH = 50 ;
21
21
22
22
function allowedPathLength ( path : string ) : number {
23
23
return Math . min ( path . length , MAX_ALLOWED_PATH_LENGTH ) + SPACE_AFTER_PATH ;
You can’t perform that action at this time.
0 commit comments