-
-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for new tlapm command-line syntax #1085
Conversation
Follow-up of tlaplus/tlapm#177 |
|
||
command.add("--config"); | ||
|
||
return (String[]) command.toArray(new String[command.size()]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think there's any need for an awkward array conversion here. It should be possible to simplify this to return command;
if you make the method return List<String>
instead of String[]
. The only use of this method is as an argument to new ProcessBuilder
, and that constructor can take either String[]
or List<String>
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right. I just reproduced the constructCommand pattern already present in the same file. I will push a simplified version.
542b618
to
c781c51
Compare
Signed-off-by: Stephane Glondu <[email protected]>
Signed-off-by: Stephane Glondu <[email protected]>
…d `-d` Signed-off-by: Stephane Glondu <[email protected]>
Signed-off-by: Stephane Glondu <[email protected]>
c781c51
to
ea16f7a
Compare
IIRC, things changed over at the tlapm repo. What is the status of this PR? |
This is no longer needed! |
No description provided.