X Tutup
Skip to content

Fix multiple files execution with -i#144

Merged
JoeStrout merged 1 commit intoJoeStrout:masterfrom
marcgurevitx:fix-args-loop
Jul 28, 2024
Merged

Fix multiple files execution with -i#144
JoeStrout merged 1 commit intoJoeStrout:masterfrom
marcgurevitx:fix-args-loop

Conversation

@marcgurevitx
Copy link
Contributor

I introduced a bug that caused executing every argument on the command line when -i switch is provided:

$ cat >xx.ms
print shellArgs

$ miniscript xx.ms xx.ms xx.ms 
["xx.ms", "xx.ms", "xx.ms"]

$ miniscript -i xx.ms xx.ms xx.ms 
["xx.ms", "xx.ms", "xx.ms"]
["xx.ms", "xx.ms"]
["xx.ms"]

...

This PR should fix it.

@JoeStrout JoeStrout merged commit 2011cea into JoeStrout:master Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

X Tutup