Use === for comparison

This commit is contained in:
Bryan Ashby 2016-01-04 23:33:03 -07:00
parent 36c995018d
commit ef047bc515
1 changed files with 1 additions and 1 deletions

View File

@ -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');