From 4bf35d5a769aa25a3816750509a58d0c2faace1b Mon Sep 17 00:00:00 2001 From: Marc Ransome Date: Fri, 9 Aug 2024 11:14:39 +0100 Subject: [PATCH] Add end of args delimiter to string function call --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index f3f1cae..d228f0c 100644 --- a/action.yml +++ b/action.yml @@ -22,7 +22,7 @@ runs: for pattern in (string split --no-empty -- " " $PATTERNS) set -l escaped (string escape --style=script --no-quoted -- $pattern) - set -l escaped (string replace -r -a '\\\([?*{}])' '$1' $escaped) + set -l escaped (string replace -r -a -- '\\\([?*{}])' '$1' $escaped) eval set -l files $escaped