mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-11 23:24:43 +02:00
Use === for comparison
This commit is contained in:
parent
36c995018d
commit
ef047bc515
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ function init(configPath, cb) {
|
|||
//
|
||||
if(!_.has(mergedConfig, 'messages.areas.') ||
|
||||
!_.isArray(mergedConfig.messages.areas) ||
|
||||
0 == mergedConfig.messages.areas.length ||
|
||||
0 === mergedConfig.messages.areas.length ||
|
||||
!_.isString(mergedConfig.messages.areas[0].name))
|
||||
{
|
||||
var msgAreasErr = new Error('Please create at least one message area');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue