Switch ts log back to warn
console.log writes to stdout which can cause problems with the indexing pipeline. Put the log to stderr back in for now.
@@ -137,7 +137,7 @@ class Vistor {
const file = path.relative(this.sourceRoot, sourceFile.fileName);
const {line, character} =
ts.getLineAndCharacterOfPosition(sourceFile, node.getStart());
- console.log(`TODO: ${file}:${line}:${character}: ${message}`);
+ console.warn(`TODO: ${file}:${line}:${character}: ${message}`);
}
/**
