mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-06 16:16:37 +02:00
fix: closes #11169
This commit is contained in:
@@ -3,7 +3,9 @@
|
||||
const winston = require('winston');
|
||||
|
||||
function warn(msg) {
|
||||
winston.warn(msg);
|
||||
if (global.env === 'development') {
|
||||
winston.warn(msg);
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = require('../public/src/modules/translator.common')(require('./utils'), (lang, namespace) => {
|
||||
|
||||
Reference in New Issue
Block a user