From d5841b1ecce3a90033d73ad5b55fd4e5cc07886c Mon Sep 17 00:00:00 2001 From: Thelonius Kort Date: Sat, 13 Jun 2026 22:44:56 +0200 Subject: [PATCH] Add type to regex args to prevent conversion issue with numbers --- filla.nu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/filla.nu b/filla.nu index 231d682..4a00237 100755 --- a/filla.nu +++ b/filla.nu @@ -2,7 +2,7 @@ def main [] {} -def "main test" [search replace ...paths] { +def "main rename_test" [search: string replace: string ...paths] { print $"search: ($search) replace: ($replace)" @@ -20,7 +20,7 @@ def "main test" [search replace ...paths] { ) } -def "main rename" [search replace ...paths] { +def "main rename" [search: string replace: string ...paths] { ($paths |