grunt.log.ok('build/umd/min/moment-with-locales.custom.js');
}).then(function () {
var moment = require('../build/umd/min/moment-with-locales.custom.js');
- if (moment.locales().length != localeFiles.length) {
+ if (moment.locales().length !== localeFiles.length) {
throw new Error(
'You probably specified locales requiring ' +
- 'parent locale, but didn\'t specify parent')
+ 'parent locale, but didn\'t specify parent');
}
}).then(done, function (e) {
grunt.log.error('error transpiling-custom', e);