mirror of
https://github.com/discordjs/discord.js.git
synced 2024-07-16 01:07:36 +12:00
ci: logging for ci
This commit is contained in:
parent
59f4db3e1d
commit
d6bf0fe43e
|
@ -21,6 +21,7 @@ const limit = pLimit(10);
|
|||
const promises = [];
|
||||
|
||||
const globber = await create(`packages/${pkg}/docs/docs.api.json`);
|
||||
console.log('Glob: ', await globber.glob());
|
||||
for await (const file of globber.globGenerator()) {
|
||||
const data = await readFile(file, 'utf8');
|
||||
try {
|
||||
|
|
|
@ -13,6 +13,7 @@ const limit = pLimit(10);
|
|||
const promises = [];
|
||||
|
||||
const globber = await create(`packages/${pkg}/docs/${pkg}/split/*.api.json`);
|
||||
console.log('Glob: ', await globber.glob());
|
||||
for await (const file of globber.globGenerator()) {
|
||||
const data = await readFile(file, 'utf8');
|
||||
const pkgName = dirname(relative(cwd(), file)).split(sep)[1];
|
||||
|
|
Loading…
Reference in a new issue