diff --git a/strip-test-selectors.js b/strip-test-selectors.js index d43e8e76..bb3d95a0 100644 --- a/strip-test-selectors.js +++ b/strip-test-selectors.js @@ -18,12 +18,12 @@ module.exports = function () { }, MustacheStatement(node) { - node.params = node.params.filter(param => !isTestSelector(param.original)); + node.params = node.params.filter(param => !isTestSelector(param.value)); node.hash.pairs = node.hash.pairs.filter(pair => !isTestSelector(pair.key)); }, BlockStatement(node) { - node.params = node.params.filter(param => !isTestSelector(param.original)); + node.params = node.params.filter(param => !isTestSelector(param.value)); node.hash.pairs = node.hash.pairs.filter(pair => !isTestSelector(pair.key)); }, },