@lingual/i18n-check 0.7.3 → 0.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -162,15 +162,15 @@ const getKeys = (path) => {
162
162
  if (argument && ts.isStringLiteral(argument)) {
163
163
  inlineNamespace = argument.text;
164
164
  }
165
- }
166
- const [callArgument] = node.expression.arguments;
167
- if (callArgument && ts.isStringLiteral(callArgument)) {
168
- const key = callArgument.text;
169
- if (key) {
170
- foundKeys.push({
171
- key: inlineNamespace ? `${inlineNamespace}.${key}` : key,
172
- meta: { file: path },
173
- });
165
+ const [callArgument] = node.expression.arguments;
166
+ if (callArgument && ts.isStringLiteral(callArgument)) {
167
+ const key = callArgument.text;
168
+ if (key) {
169
+ foundKeys.push({
170
+ key: inlineNamespace ? `${inlineNamespace}.${key}` : key,
171
+ meta: { file: path },
172
+ });
173
+ }
174
174
  }
175
175
  }
176
176
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingual/i18n-check",
3
- "version": "0.7.3",
3
+ "version": "0.7.4",
4
4
  "description": "i18n translation messages check",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",