mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 03:23:29 +01:00
ci: logging for ci
This commit is contained in:
@@ -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];
|
||||||
|
|||||||
Reference in New Issue
Block a user