summaryrefslogtreecommitdiffstats
path: root/tools/esmify/utils.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/esmify/utils.js')
-rw-r--r--tools/esmify/utils.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/esmify/utils.js b/tools/esmify/utils.js
index 801aab62af..386d4d6673 100644
--- a/tools/esmify/utils.js
+++ b/tools/esmify/utils.js
@@ -8,7 +8,7 @@
function warnForPath(inputFile, path, message) {
const loc = path.node.loc;
- console.log(
+ console.warn(
`WARNING: ${inputFile}:${loc.start.line}:${loc.start.column} : ${message}`
);
}