You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Transformation error (Transformation angle-brackets-syntax.js errored on file app/templates/components/some-component.hbs. Reason TypeError: Cannot read property 'startsWith' of undefined.
Please report this in https://github.com/rajasegar/ember-angle-brackets-codemod/issues
Stack trace: TypeError: Cannot read property 'startsWith' of undefined
at startsWith (/home/user/.npm/_npx/13031/lib/node_modules/ember-angle-brackets-codemod/transforms/angle-brackets/transforms/angle-brackets-syntax.js:155:69)
at Array.filter (<anonymous>)
at filter (/home/user/.npm/_npx/13031/lib/node_modules/ember-angle-brackets-codemod/transforms/angle-brackets/transforms/angle-brackets-syntax.js:155:38)
at tranformValuelessDataParams (/home/user/.npm/_npx/13031/lib/node_modules/ember-angle-brackets-codemod/transforms/angle-brackets/transforms/angle-brackets-syntax.js:193:44)
at visitNode (../../../../../packages/@glimmer/syntax/lib/traversal/traverse.ts:97:14)
at visitArray (../../../../../packages/@glimmer/syntax/lib/traversal/traverse.ts:187:18)
at visitKey (../../../../../packages/@glimmer/syntax/lib/traversal/traverse.ts:168:5)
at visitNode (../../../../../packages/@glimmer/syntax/lib/traversal/traverse.ts:117:7)
at Object.traverse (../../../../../packages/@glimmer/syntax/lib/traversal/traverse.ts:231:3)
at traverse (/home/user/.npm/_npx/13031/lib/node_modules/ember-angle-brackets-codemod/transforms/angle-brackets/transforms/angle-brackets-syntax.js:161:11)
Source: {{#liquid-if (gt rows.length 0)}}{{/liquid-if}} )
Also, if the condition/argument is changed then it doesn't throw this error yet produces incorrect output (interprets helper name as component name):
Input:
Error:
Also, if the condition/argument is changed then it doesn't throw this error yet produces incorrect output (interprets helper name as component name):
Input 2:
Output:
This appears to be related to #12
The text was updated successfully, but these errors were encountered: