From d76949e3b92a8a184bac683227c1024920fe763b Mon Sep 17 00:00:00 2001 From: William Boman Date: Sat, 22 Apr 2023 23:28:10 +0200 Subject: fix(expr): fix strip_{prefix,suffix} (#1249) --- lua/mason-core/installer/registry/expr.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua/mason-core/installer/registry/expr.lua') diff --git a/lua/mason-core/installer/registry/expr.lua b/lua/mason-core/installer/registry/expr.lua index 2bb3a149..ad7cfd43 100644 --- a/lua/mason-core/installer/registry/expr.lua +++ b/lua/mason-core/installer/registry/expr.lua @@ -34,8 +34,8 @@ end, 2) local FILTERS = { equals = _.equals, not_equals = _.not_equals, - strip_prefix = _.trim_start_matches, - strip_suffix = _.trim_end_matches, + strip_prefix = _.strip_prefix, + strip_suffix = _.strip_suffix, take_if = take_if, take_if_not = take_if_not, to_lower = _.to_lower, -- cgit v1.2.3-70-g09d2