File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -110,10 +110,15 @@ async function main() {
110
110
changedPkg => ! changesetPackages . includes ( changedPkg )
111
111
) ;
112
112
if ( missingPackages . length > 0 ) {
113
- missingPackagesError = `Warning: This PR modifies files in the following packages but they have not been included in the changeset file:%0A
114
- ${ missingPackages . map ( pkg => `- ${ pkg } ` ) . join ( '%0A' ) }
115
- %0A
116
- Make sure this was intentional.%0A` ;
113
+ const missingPackagesLines = [
114
+ 'Warning: This PR modifies files in the following packages but they have not been included in the changeset file:'
115
+ ] ;
116
+ for ( const missingPackage of missingPackages ) {
117
+ missingPackagesLines . push ( `- ${ missingPackage } ` ) ;
118
+ }
119
+ missingPackagesLines . push ( '' ) ;
120
+ missingPackagesLines . push ( 'Make sure this was intentional.' ) ;
121
+ missingPackagesError = missingPackagesLines . join ( '%0A' ) ;
117
122
}
118
123
}
119
124
} catch ( e ) {
You can’t perform that action at this time.
0 commit comments