Skip to content

Commit f876130

Browse files
committed
Fix broken path.parts condition
1 parent 5529681 commit f876130

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)