Skip to content

Commit

Permalink
log
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Dec 10, 2024
1 parent 26a6cd1 commit 26f0b4f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/utils/sharedlib-emit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ export async function sharedLibEmit(path: string, job: Job) {
// console.log('Emitting shared libs for ' + path);
const pkgPath = getPackageBase(path);
if (!pkgPath) return;

if (job.log) {
console.log(
`Globbing sharedlib: ${convertPathToPattern(pkgPath) + sharedlibGlob}`,
);
}
const files = await glob(convertPathToPattern(pkgPath) + sharedlibGlob, {
ignore: [convertPathToPattern(pkgPath) + '/**/node_modules/**/*'],
dot: true,
Expand Down

0 comments on commit 26f0b4f

Please sign in to comment.