File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ export async function listWorkspaces() {
35
35
for ( const packageJSONPath of Array . from ( packages ) ) {
36
36
const packageJSON = JSON . parse ( await fsp . readFile ( packageJSONPath ) ) ;
37
37
const packagePath = path . relative ( process . cwd ( ) , path . dirname ( packageJSONPath ) ) ;
38
- console . error ( 'package relative path - ' , packagePath ) ;
39
38
40
39
result . push ( {
41
40
path : packagePath ,
Original file line number Diff line number Diff line change @@ -3,10 +3,10 @@ import { listWorkspaces } from '../list-workspaces/list-workspaces.mjs';
3
3
import path from 'path' ;
4
4
5
5
const internalDependencies = [
6
- '.github/' ,
6
+ '.github' + path . sep ,
7
7
'package-lock.json' ,
8
8
'package.json' ,
9
- 'rollup/' ,
9
+ 'rollup' + path . sep ,
10
10
'tsconfig.json' ,
11
11
] ;
12
12
@@ -46,13 +46,12 @@ export async function listModifiedWorkspaces() {
46
46
47
47
for ( const modifiedFile of modifiedFiles ) {
48
48
const modifiedFilePath = path . relative ( process . cwd ( ) , path . format ( path . posix . parse ( modifiedFile ) ) ) ;
49
- console . error ( 'modified file - ' , modifiedFilePath ) ;
50
49
51
- if ( modifiedFile . startsWith ( 'e2e/' ) ) {
50
+ if ( modifiedFile . startsWith ( 'e2e' + path . sep ) ) {
52
51
continue ;
53
52
}
54
53
55
- if ( modifiedFile . startsWith ( 'sites/' ) ) {
54
+ if ( modifiedFile . startsWith ( 'sites' + path . sep ) ) {
56
55
continue ;
57
56
}
58
57
You can’t perform that action at this time.
0 commit comments