Skip to content

Commit eef3ecd

Browse files
Merge pull request #65 from Turbo87/fix-parts
Fix broken `path.parts` condition
2 parents 8a0640b + f876130 commit eef3ecd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

transforms/no-implicit-this/helpers/plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ function transformPlugin(env, options = {}) {
101101
// {{FOO}}
102102
if (path.type === 'PathExpression' && !hasParams && !hasHashPairs) {
103103
// {{FOO.bar}}
104-
if (path.parts > 1) {
104+
if (path.parts.length > 1) {
105105
handlePathExpression(path);
106106
return;
107107
}

0 commit comments

Comments
 (0)