Skip to content

Commit

Permalink
Remove logs in build.mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin McDonnell committed Mar 18, 2022
1 parent 9004904 commit 5d356dd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions deno/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ const nodeSrcRoot = join(projectRoot, "src");
const denoLibRoot = join(projectRoot, "deno", "lib");

const skipList = [join(nodeSrcRoot, "__tests__", "object-in-es5-env.test.ts")];
console.log(skipList);
const walkAndBuild = (/** @type string */ dir) => {
for (const entry of readdirSync(join(nodeSrcRoot, dir), {
withFileTypes: true,
Expand All @@ -37,7 +36,7 @@ const walkAndBuild = (/** @type string */ dir) => {
const denoPath = join(denoLibRoot, dir, entry.name);

if (skipList.includes(nodePath)) {
console.log(`skipping ${nodePath}`);
// console.log(`Skipping ${nodePath}`);
continue;
}

Expand Down Expand Up @@ -74,7 +73,7 @@ const walkAndBuild = (/** @type string */ dir) => {
}
}

console.warn(`Skipping non-resolvable import:\n ${line}`);
// console.warn(`Skipping non-resolvable import:\n ${line}`);
return line;
}
);
Expand Down

0 comments on commit 5d356dd

Please sign in to comment.