From b4bd22fc1fb499730516e9e6f02c601026562750 Mon Sep 17 00:00:00 2001 From: Iskren Chernev Date: Tue, 1 Nov 2016 13:58:32 +0000 Subject: [PATCH] jshint satisfaction --- tasks/transpile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/transpile.js b/tasks/transpile.js index 5ab8dd533..75d820ea0 100644 --- a/tasks/transpile.js +++ b/tasks/transpile.js @@ -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); -- 2.47.2