Skip to content

Conversation

grodtron
Copy link
Contributor

@grodtron grodtron commented May 25, 2023

(Fixes issue #218) When trying to use this locally, I was getting repeated errors that ktfmt was not available. Reversing the conditional here makes everything work correctly for me (on Linux), and also makes sense (success of a command line tool is indicated by return code equal to 0).

When trying to use this locally, I was getting repeated errors that ktfmt was not available. Reversing the conditional here makes everything work correctly for me (on Linux), and also makes sense (success of a command line tool is indicated by return code equal to 0).
@grodtron grodtron changed the title Fix #218 Fix broken ktfmt availability check May 25, 2023
@dbarnett
Copy link
Contributor

LGTM.

Per discussion in the PR, it already gives decent warnings if it does fail, so if anyone does start seeing issues they can give us a nice actionable report and we can fix corner cases pretty quickly.

@dbarnett dbarnett merged commit 09ee74c into google:master May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants