comonicon / Comonicon.jl

Your best CLI generator in JuliaLang
https://comonicon.org
MIT License
282 stars 25 forks source link

fix: empty user defined hint is used #251

Closed xukai92 closed 1 year ago

xukai92 commented 1 year ago

user hint is used even when it is empty. falling back to the default hint now with this PR

Roger-luo commented 1 year ago

can I ask for a simple test for this behaviour? I assume you already have something, you can just copy-paste that.

codecov[bot] commented 1 year ago

Codecov Report

Patch has no changes to coverable lines.

Files Changed Coverage
src/frontend/cast.jl ø

:loudspeaker: Thoughts on this report? Let us know!.

xukai92 commented 1 year ago

added a test case to cover it