Skip to content

Commit c5f2ac5

Browse files
authored
Remove Glimmer AST Deprecation (#1220)
Accessing this value in original is deprecated, and very noisily so, replacing this with value as recommended.
1 parent ec37255 commit c5f2ac5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

strip-test-selectors.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ module.exports = function () {
1818
},
1919

2020
MustacheStatement(node) {
21-
node.params = node.params.filter(param => !isTestSelector(param.original));
21+
node.params = node.params.filter(param => !isTestSelector(param.value));
2222
node.hash.pairs = node.hash.pairs.filter(pair => !isTestSelector(pair.key));
2323
},
2424

2525
BlockStatement(node) {
26-
node.params = node.params.filter(param => !isTestSelector(param.original));
26+
node.params = node.params.filter(param => !isTestSelector(param.value));
2727
node.hash.pairs = node.hash.pairs.filter(pair => !isTestSelector(pair.key));
2828
},
2929
},

0 commit comments

Comments
 (0)