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