-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Remove code fixing features in JCC #13076
Conversation
/gcbrun skip |
WriteStdErrOut(fullCmdArgs, out, errstr) | ||
fmt.Println("\nFix failure") | ||
os.Exit(retcode) | ||
os.Exit(0) |
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.
rather than only calling WriteStdErrOut and os.Exit() when retcode == 0, I think we need to do this in all cases?
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.
Good point, fixed.
/gcbrun skip |
fullCmdArgs := append([]string{bin}, newArgs...) | ||
retcode, out, errstr := Compile(bin, newArgs) | ||
WriteStdErrOut(fullCmdArgs, out, errstr) | ||
os.Exit(0) |
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.
nit: os.Exit(retcode)
?
/gcbrun skip |
I did not update JCC binaries in gbucket, which are no longer in use. |
I have an important use in mind for the wrapper that isn't bug fixing. So thank you very much for this PR! |
Code fixing features are no longer required, but its main structure may be reused later.