Add 'use strict' to i18n.js

This commit is contained in:
Scott Nonnenberg 2018-04-04 16:30:52 -07:00
parent 1326b26585
commit 3899eb8d0b
No known key found for this signature in database
GPG key ID: 5F82280C35134661

View file

@ -1,5 +1,7 @@
/* eslint-env node */
'use strict';
exports.setup = (locale, messages) => {
if (!locale) {
throw new Error('i18n: locale parameter is required');