File tree 1 file changed +5
-7
lines changed
1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -139,18 +139,16 @@ function createApp({
139
139
? majorBumps . split ( ',' ) . filter ( Boolean )
140
140
: ( req . query . majorBumps as string [ ] | undefined ) || [ ] ;
141
141
142
- const requiredDependents = [
143
- ...new Set (
144
- majorBumpsArray . flatMap ( ( majorBump ) =>
145
- findAllWorkspacePackagesThatDependOnPackage ( project , majorBump ) ,
146
- ) ,
142
+ const requiredDependents = new Set (
143
+ majorBumpsArray . flatMap ( ( majorBump ) =>
144
+ findAllWorkspacePackagesThatDependOnPackage ( project , majorBump ) ,
147
145
) ,
148
- ] ;
146
+ ) ;
149
147
150
148
const pkgs = Object . values ( project . workspacePackages ) . filter (
151
149
( pkg ) =>
152
150
pkg . hasChangesSinceLatestRelease ||
153
- requiredDependents . includes ( pkg . validatedManifest . name ) ,
151
+ requiredDependents . has ( pkg . validatedManifest . name ) ,
154
152
) ;
155
153
156
154
const packages = pkgs . map ( ( pkg ) => ( {
You can’t perform that action at this time.
0 commit comments