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

check bat version while checking if bat is executable #14

Merged
merged 1 commit into from
Apr 4, 2022

Conversation

nazmulpcc
Copy link
Contributor

This PR adds a version check while checking if the current bat version is at least 0.16 See this comment

Fixes #9

We could add this check somewhere else, but this seemed more efficient as we don't need to create another Symfony\Component\Process\Process. Also, the function name colorizerCanExecute seems an okay place to hold this logic.

I've successfully reproduced Issue #9 in both Mac & ubuntu and this fix works in both cases.

@freekmurze freekmurze merged commit bbcfcd1 into spatie:main Apr 4, 2022
@freekmurze
Copy link
Member

Thanks!

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.

Not seeing any output besides status and duration on Linux with zsh
2 participants