We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2616f1b commit 680fa72Copy full SHA for 680fa72
tasks/find_locale_strings.js
@@ -28,7 +28,7 @@ function findLocaleStrings() {
28
var code = fs.readFileSync(file, 'utf-8');
29
var filePartialPath = file.substr(constants.pathToSrc.length);
30
31
- falafel(code, {locations: true}, function(node) {
+ falafel(code, { ecmaVersion: 12, locations: true }, function(node) {
32
if(node.type === 'CallExpression' &&
33
(node.callee.name === '_' || node.callee.source() === 'Lib._')
34
) {
0 commit comments