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

Avoid printing the error twice #2530

Merged
merged 1 commit into from
Oct 6, 2021
Merged

Avoid printing the error twice #2530

merged 1 commit into from
Oct 6, 2021

Conversation

mengqiy
Copy link
Contributor

@mengqiy mengqiy commented Oct 2, 2021

We set the 3rd argument noPrintError to false in cmd := command.Build(p, command.StandaloneDisabled, false). We don't need to do fmt.Println

This is similar to GoogleContainerTools/kpt-functions-catalog#609

@mengqiy mengqiy merged commit 3187fe3 into main Oct 6, 2021
@mengqiy mengqiy deleted the mengqiy-patch-1 branch October 6, 2021 22:50
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

Successfully merging this pull request may close these issues.

None yet

2 participants