diff options
Diffstat (limited to 'tools/esmify')
-rw-r--r-- | tools/esmify/is-esmified.js | 2 | ||||
-rw-r--r-- | tools/esmify/map.json | 2 | ||||
-rw-r--r-- | tools/esmify/utils.js | 2 |
3 files changed, 2 insertions, 4 deletions
diff --git a/tools/esmify/is-esmified.js b/tools/esmify/is-esmified.js index 872b4cd877..978e804f4b 100644 --- a/tools/esmify/is-esmified.js +++ b/tools/esmify/is-esmified.js @@ -34,7 +34,7 @@ function generateESMURIMap(jsm_map) { function isESMifiedSlow(resourceURI) { if (!(resourceURI in uri_map)) { - console.log(`WARNING: Unknown module: ${resourceURI}`); + console.warn(`WARNING: Unknown module: ${resourceURI}`); return { result: false, jsms: [] }; } diff --git a/tools/esmify/map.json b/tools/esmify/map.json index 14491bdb07..04a790d406 100644 --- a/tools/esmify/map.json +++ b/tools/esmify/map.json @@ -470,8 +470,6 @@ "resource://gre/modules/BookmarkHTMLUtils.jsm": "toolkit/components/places/BookmarkHTMLUtils.jsm", "resource://gre/modules/BookmarkJSONUtils.jsm": "toolkit/components/places/BookmarkJSONUtils.jsm", "resource://gre/modules/Bookmarks.jsm": "toolkit/components/places/Bookmarks.jsm", - "resource://gre/modules/BrowserElementParent.jsm": "dom/browser-element/BrowserElementParent.jsm", - "resource://gre/modules/BrowserElementPromptService.jsm": "dom/browser-element/BrowserElementPromptService.jsm", "resource://gre/modules/BrowserTelemetryUtils.jsm": "toolkit/modules/BrowserTelemetryUtils.jsm", "resource://gre/modules/BrowserUtils.jsm": "toolkit/modules/BrowserUtils.jsm", "resource://gre/modules/CSV.js": "toolkit/components/passwordmgr/CSV.js", 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}` ); } |