Skip to content

Node.js based forum software built for the modern web

closes #5231

barisusakli31168c669b7e
diff --git a/src/meta/js.js b/src/meta/js.js
index be5708d2c1..72c9813a03 100644
--- a/src/meta/js.js
+++ b/src/meta/js.js
@@ -211,7 +211,9 @@ module.exports = function (Meta) {
fs.readFile(filePath, function (err, contents) {
if (err) {
if (err.code === 'ENOENT') {
- winston.warn('[meta/js] ' + filePath + ' not found on disk, did you run ./nodebb build?');
+ if (!filePath.endsWith('.map')) {
+ winston.warn('[meta/js] ' + filePath + ' not found on disk, did you run ./nodebb build?');
+ }
return next(null, '');
}
}