Skip to content

Commit

Permalink
jshint satisfaction
Browse files Browse the repository at this point in the history
  • Loading branch information
ichernev committed Nov 6, 2016
1 parent a198148 commit b4bd22f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/transpile.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,10 +281,10 @@ module.exports = function (grunt) {
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);
Expand Down

0 comments on commit b4bd22f

Please sign in to comment.