Closed chenrui333 closed 1 year ago
Thanks for the report, yes this should definitely not panic, and should not even really error
Guess we need a test for this, and a new version, there is another bug I wouldn't mind getting in either
@chenrui333 is it possible to add the docker dependency (or ideally make sure they have one of the 3 listed), and then this test would pass? While not absolutely required, it is very recommended to have a container runtime tool available
I'm happy to make the updates, just need some guidance
yeah, we can add docker dependency for CI, but it actually does not work.
I've fixed that issue on my end already, warning message and continues with normal operation
In it's broken form, it doesn't actually need containers to run, just the cli to be in the path. It now reports "none"
This should be fixed, but we should also add at least another test for hof gen
that would invoke a formatter, something like js or py code. Then we need to decide what happens in this case. I think we should finish gracefully, writing unformatted code and warning the user?
should we also add a brew install
test or build the formula, will that catch any errors we wouldn't/couldn't otherwise?
(thinking more about our own tap, but also homebrew's?)
fixed in #261 and #268
While upgrading the formula to latest release, 0.6.8, I ran into the test failure while version check depends on
[ docker podman nerdctl]
check.Also, it would be good to have better error handling rather than displaying the error stack trace.
relates to https://github.com/Homebrew/homebrew-core/pull/139219