Skip to content

Commit

Permalink
ci: remove debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
iCrawl committed Mar 2, 2024
1 parent 34936a0 commit 3fd36f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions packages/actions/src/uploadDocumentation/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { readFile, readdir } from 'node:fs/promises';
import { dirname } from 'node:path';
import { readFile } from 'node:fs/promises';
import process from 'node:process';
import { getInput, setFailed } from '@actions/core';
import { create } from '@actions/glob';
Expand All @@ -24,7 +23,6 @@ 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()) {
console.log('Dir:', dirname(file), 'Files:', await readdir(dirname(file)));
const data = await readFile(file, 'utf8');
try {
promises.push(
Expand Down
3 changes: 1 addition & 2 deletions packages/actions/src/uploadSplitDocumentation/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { readFile, readdir } from 'node:fs/promises';
import { readFile } from 'node:fs/promises';
import { basename, dirname, relative, sep } from 'node:path';
import { cwd } from 'node:process';
import { getInput } from '@actions/core';
Expand All @@ -15,7 +15,6 @@ 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()) {
console.log('Dir:', dirname(file), 'Files:', await readdir(dirname(file)));
const data = await readFile(file, 'utf8');
const pkgName = dirname(relative(cwd(), file)).split(sep)[1];
try {
Expand Down

0 comments on commit 3fd36f7

Please sign in to comment.