Add 'use strict' to i18n.js
This commit is contained in:
parent
1326b26585
commit
3899eb8d0b
1 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
|||
/* eslint-env node */
|
||||
|
||||
'use strict';
|
||||
|
||||
exports.setup = (locale, messages) => {
|
||||
if (!locale) {
|
||||
throw new Error('i18n: locale parameter is required');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue