Fork me on GitHub
#clj-kondo
<
2022-06-30
>
pedrorgirardi11:06:45

@borkdude, it seems there’s something in the “EDN analysis” process that is writing to stdout. I experimented with adding deps.edn analysis to my Sublime Text plugin and noticed that the JSON parser was failing in some cases - since there was something else getting printed to stdout that didn’t look like a JSON encoded string.

pedrorgirardi11:06:29

Notice the :git-url nil\ string before the analysis data.

borkdude11:06:26

We should remove this and replace with nil or so

pedrorgirardi11:06:36

That was fast! 😃

pedrorgirardi11:06:02

> We should remove this and replace with nil or so Cool! Thanks 🙏

borkdude11:06:03

issue + PR welcome. maybe as a workaround you can do a str/replace on this before you read it as json

pedrorgirardi11:06:29

Yep, good idea.

borkdude14:06:12

Photos from the clj-kondo workshop at ClojureD :) (and other conf pics!) https://twitter.com/borkdude/status/1542521071588347905

Noah Bogart15:06:57

@U0156R9BWGK is that you on the right?

iarenaza08:07:37

It was real fun, and I learned a ton of new things! So many, many thanks @borkdude

Hans Conrad14:07:25

ha @UEENNMX0T that would indeed be me...Not sure why I always look so serious when I see clj-kondo magic.. Thanks again for that session @borkdude definitely learned a lot

❤️ 1