Skip to content

Conversation

@jcf
Copy link

@jcf jcf commented Oct 17, 2023

Hi Kirill,

Firstly, thanks for sharing the superb Clojure-orientated GitHub actions. They're much appreciated!

I noticed the output in a small reproduction I shared over in Clojurians used broken English and thought I'd share a subjective improvement for your consideration.

When in the code, I noticed some repeated logic, too, so added an additional commit that introduces a new function for summarising the linting process.

If I used the newer const summarize => () syntax, I could eliminate the explicit return but noticed you're using the established function syntax, so stuck with that.

Thanks again for the awesome work!

annotations
});
}
console.log(`clj-kondo detects some problems and exited with a non-zero code (${exitCode}). Please check founded problems at https://github.com/${GITHUB_REPOSITORY}/runs/${id}`);
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a lighter touch change here of something like:

clj-kondo detected some problems and exited with a non-zero code (n). Please check the problems found at https://github.com/...

I shortened things because I'm a sucker for something succinct.

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.

1 participant