-
Notifications
You must be signed in to change notification settings - Fork 208
Make terraform cloud provider able to parse log including ansi codes #2189
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
Conversation
|
Code coverage for golang is
|
| if t.options.noColor { | ||
| args = append(args, "-no-color") | ||
| } | ||
| for _, v := range t.options.vars { | ||
| args = append(args, fmt.Sprintf("-var=%s", v)) | ||
| } | ||
| for _, f := range t.varFiles { | ||
| for _, f := range t.options.varFiles { | ||
| args = append(args, fmt.Sprintf("-var-file=%s", f)) | ||
| } |
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.
nits, should we extract this part as t.makeCommandArgs private method 🤔
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.
Sure. Applied that idea. 👍
|
With it we can see the full version of the preview result for Terraform 👍 |
|
Thx |
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #674
Does this PR introduce a user-facing change?: