File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ export async function listWorkspaces() {
3535 for ( const packageJSONPath of Array . from ( packages ) ) {
3636 const packageJSON = JSON . parse ( await fsp . readFile ( packageJSONPath ) ) ;
3737 const packagePath = path . relative ( process . cwd ( ) , path . dirname ( packageJSONPath ) ) ;
38- console . error ( 'package relative path - ' , packagePath ) ;
3938
4039 result . push ( {
4140 path : packagePath ,
Original file line number Diff line number Diff line change @@ -3,10 +3,10 @@ import { listWorkspaces } from '../list-workspaces/list-workspaces.mjs';
33import path from 'path' ;
44
55const internalDependencies = [
6- '.github/' ,
6+ '.github' + path . sep ,
77 'package-lock.json' ,
88 'package.json' ,
9- 'rollup/' ,
9+ 'rollup' + path . sep ,
1010 'tsconfig.json' ,
1111] ;
1212
@@ -46,13 +46,12 @@ export async function listModifiedWorkspaces() {
4646
4747 for ( const modifiedFile of modifiedFiles ) {
4848 const modifiedFilePath = path . relative ( process . cwd ( ) , path . format ( path . posix . parse ( modifiedFile ) ) ) ;
49- console . error ( 'modified file - ' , modifiedFilePath ) ;
5049
51- if ( modifiedFile . startsWith ( 'e2e/' ) ) {
50+ if ( modifiedFile . startsWith ( 'e2e' + path . sep ) ) {
5251 continue ;
5352 }
5453
55- if ( modifiedFile . startsWith ( 'sites/' ) ) {
54+ if ( modifiedFile . startsWith ( 'sites' + path . sep ) ) {
5655 continue ;
5756 }
5857
You can’t perform that action at this time.
0 commit comments