mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-22 16:30:34 +01:00
Fixes, passes tests
This commit is contained in:
@@ -75,7 +75,7 @@ Languages.list = function (callback) {
|
||||
|
||||
fs.readFile(configPath, function (err, stream) {
|
||||
if (err) {
|
||||
next();
|
||||
return next(err);
|
||||
}
|
||||
languages.push(JSON.parse(stream.toString()));
|
||||
next();
|
||||
|
||||
Reference in New Issue
Block a user