You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for looking into this @sbarzowski! I haven't dug that deep into the code yet, but I did notice that the jsonnet command somehow handles this gracefully, so my initial guess was that jsonnetfmt is missing some preflight check.
This issue was reported originally on the Tanka repo here, but it can be easily reproduced with
jsonnetfmt
.Given this invalid jsonnet:
running
jsonnetfmt test.jsonnet
(latestmain - 51daeb3
) panics with the following stack:While
jsonnetfmt
is correct to reject this malformed code, panicking is not ideal.The text was updated successfully, but these errors were encountered: