Skip to content

Commit c197017

Browse files
committed
cleanup
1 parent 2c9ab99 commit c197017

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/bin/list-workspaces/list-workspaces.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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,

.github/bin/modified-workspaces/modified-workspaces.mjs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ import { listWorkspaces } from '../list-workspaces/list-workspaces.mjs';
33
import path from 'path';
44

55
const 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

0 commit comments

Comments
 (0)