Skip to content

Commit d2a719e

Browse files
committed
Is the check for changes function throwing an error?
1 parent 6a0d7e0 commit d2a719e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/actions/src/info/index.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ async function findPackages(directory: string, maxDepth?: number) {
3636
const fullPath = pathlib.join(currentDir, item.name);
3737
if (item.isFile()) {
3838
if (item.name === 'package.json') {
39-
core.info(`Found ${fullPath}`);
4039
try {
4140
const { default: { name } } = await import(fullPath, { with: { type: 'json' }});
4241
const changes = await checkForChanges(currentDir);
@@ -46,7 +45,9 @@ async function findPackages(directory: string, maxDepth?: number) {
4645
name
4746
};
4847
return;
49-
} catch {}
48+
} catch(error) {
49+
core.error(error);
50+
}
5051
}
5152
continue;
5253
}

0 commit comments

Comments
 (0)