From 5660eaf0555f36252126c3dbc69762350b4fd35c Mon Sep 17 00:00:00 2001 From: Jonathan Johnson Date: Wed, 24 Jul 2024 22:39:26 -0700 Subject: [PATCH] Remove Glimmer AST Deprecation Accessing this value in original is deprecated, and very noisily so, replacing this with value as recommended. --- strip-test-selectors.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)); }, },