Skip to content
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

command.ProcessState could be nil #171

Open
fiurthorn opened this issue Feb 10, 2022 · 0 comments
Open

command.ProcessState could be nil #171

fiurthorn opened this issue Feb 10, 2022 · 0 comments

Comments

@fiurthorn
Copy link

fiurthorn commented Feb 10, 2022

During a build error found on Linux, command.ProcessState can be nil

// if command.ProcessState.Success() {
if command.ProcessState != nil && command.ProcessState.Success() {
    b.errors = ""
} else {
    b.errors = string(output)
}
@fiurthorn fiurthorn changed the title command.ProcessState maybe nil command.ProcessState could be nil Feb 10, 2022
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

No branches or pull requests

1 participant