Add type to regex args to prevent conversion issue with numbers

This commit is contained in:
Thelonius Kort
2026-06-13 22:44:56 +02:00
parent 3dc83999e4
commit d5841b1ecc

View File

@ -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 |