Skip to content
This repository has been archived by the owner on Jul 22, 2023. It is now read-only.

First script argument to 'remodel run' is ignored (0.7.0) #19

Closed
Vorlias opened this issue Jul 6, 2020 · 0 comments
Closed

First script argument to 'remodel run' is ignored (0.7.0) #19

Vorlias opened this issue Jul 6, 2020 · 0 comments

Comments

@Vorlias
Copy link
Member

Vorlias commented Jul 6, 2020

When running remodel run in 0.7.0, the first argument passed to the script is completely discarded.


Example repro:

remodel run test.lua ONE TWO THREE

Where test.lua is:

local args = { ... }
for i, v in pairs(args) do
    print(i, v)
end

Will output:

1 TWO
2 THREE

The expected output should be

1 ONE
2 TWO
3 THREE
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant