File tree Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -158,13 +158,22 @@ export async function main({
158158 targetPath,
159159 } ) ;
160160
161- tableData . push ( {
162- Source : sourcePath ,
163- ...( verbose ? { Target : targetPath } : { } ) ,
164- 'Should update?' : shouldUpdate ? '✅ Yes' : '❌ No' ,
165- Chunks : chunks ,
166- Reason : reason ,
167- } ) ;
161+ if ( verbose ) {
162+ tableData . push ( {
163+ Source : sourcePath ,
164+ ...( verbose ? { Target : targetPath } : { } ) ,
165+ 'Should update?' : shouldUpdate ? '✅ Yes' : '❌ No' ,
166+ Chunks : chunks ,
167+ Reason : reason ,
168+ } ) ;
169+ } else if ( shouldUpdate ) {
170+ tableData . push ( {
171+ Source : sourcePath ,
172+ Target : targetPath ,
173+ 'Should update?' : '✅ Yes' ,
174+ Reason : reason ,
175+ } ) ;
176+ }
168177
169178 if ( shouldUpdate ) {
170179 tasks . push ( {
You can’t perform that action at this time.
0 commit comments