Improve logs in the compendia helpers
This commit is contained in:
parent
777ea69b66
commit
7b41343778
2 changed files with 4 additions and 4 deletions
|
|
@ -25,10 +25,10 @@ export async function buildCompendia() {
|
||||||
join(process.cwd(), compendium.path),
|
join(process.cwd(), compendium.path),
|
||||||
{ recursive: true },
|
{ recursive: true },
|
||||||
);
|
);
|
||||||
console.debug(`Finished packing ${compendium.name}`);
|
console.debug(`Finished packing compendium: ${compendium.name}`);
|
||||||
};
|
};
|
||||||
|
|
||||||
console.log(`Finished packing compendia`)
|
console.log(`Finished packing all compendia`)
|
||||||
};
|
};
|
||||||
|
|
||||||
if (import.meta.url === pathToFileURL(process.argv[1]).href) {
|
if (import.meta.url === pathToFileURL(process.argv[1]).href) {
|
||||||
|
|
|
||||||
|
|
@ -19,10 +19,10 @@ export async function extractCompendia() {
|
||||||
src,
|
src,
|
||||||
{ recursive: true },
|
{ recursive: true },
|
||||||
);
|
);
|
||||||
console.debug(`Finished packing ${compendium.name}`);
|
console.debug(`Finished unpacking compendium: ${compendium.name}`);
|
||||||
};
|
};
|
||||||
|
|
||||||
console.log(`Finished unpacking compendia`);
|
console.log(`Finished unpacking all compendia`);
|
||||||
};
|
};
|
||||||
|
|
||||||
if (import.meta.url === pathToFileURL(process.argv[1]).href) {
|
if (import.meta.url === pathToFileURL(process.argv[1]).href) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue