Skip to content

Commit 5a7d21f

Browse files
committed
compiler: remove logging
1 parent 3fd0e03 commit 5a7d21f

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

packages/compiler/src/transforms/add-imports.ts

-3
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ export function findAllDanglingIdentifiers(ast: ASTNode) {
108108
const result: IdentifierList = {};
109109
visit(ast, {
110110
visitIdentifier: function (path) {
111-
console.log(path.node.name);
112111
// If this is part of an import statement, do nothing
113112
if (n.ImportSpecifier.check(path.parent.node)) {
114113
return false;
@@ -168,8 +167,6 @@ function visitor(path: NodePath, logger: Logger, options: AddImportsOptions) {
168167

169168
if (name) {
170169
const identifiers = findAllDanglingIdentifiers(path.node);
171-
console.log(identifiers);
172-
console.log(exports);
173170
const usedExports =
174171
exports && exports.length
175172
? // If we have exports for this adaptor, import any dangling variables from the export list

packages/compiler/src/util.ts

-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ const findExports = async (
8787
const dtsFiles = files.filter((f) => f.endsWith('.d.ts'));
8888
const result = [];
8989
for (const f of dtsFiles) {
90-
console.log(f);
9190
const relPath = `${typesRoot}/${f}`;
9291
const contents = await readFile(`${moduleRoot}/${relPath}`, 'utf8');
9392
project.createFile(contents, relPath);

0 commit comments

Comments
 (0)