ember-eslint-parser 0.3.1 → 0.3.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ember-eslint-parser",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "repository": {
@@ -342,7 +342,7 @@ module.exports.preprocessGlimmerTemplates = function preprocessGlimmerTemplates(
342
342
 
343
343
  // ast should not contains empty text nodes
344
344
  for (const node of emptyTextNodes) {
345
- const children = node.parent.children || node.parent.body;
345
+ const children = node.parent.children || node.parent.body || node.parent.parts;
346
346
  const idx = children.indexOf(node);
347
347
  children.splice(idx, 1);
348
348
  }