File tree Expand file tree Collapse file tree
.github/bin/modified-workspaces Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ if (modifiedWorkspaces.all) {
4040 process . exit ( 0 ) ;
4141}
4242
43- if ( modifiedWorkspaces . nothing || ( modifiedWorkspaces . modified && modifiedWorkspaces . modified . length === 0 ) ) {
43+ if ( modifiedWorkspaces . nothing ) {
4444 // in the current form we always need to do something.
4545 // building/testing any package prevents error states if nothing actually changed.
4646 process . stdout . write ( '--workspace=@csstools/postcss-tape' ) ;
Original file line number Diff line number Diff line change @@ -94,6 +94,14 @@ export async function listModifiedWorkspaces() {
9494 }
9595 }
9696
97+ if ( modifiedWorkspaces . size === 0 ) {
98+ return {
99+ nothing : true ,
100+ all : false ,
101+ modified : [ ] ,
102+ } ;
103+ }
104+
97105 return {
98106 nothing : false ,
99107 all : false ,
You can’t perform that action at this time.
0 commit comments