dzhibas / SublimePrettyJson

Prettify/Minify/Query/Goto/Validate/Lint JSON plugin for Sublime Text 3 & 4
MIT License
2.03k stars 180 forks source link

Fix check for whether jq is installed in the system #162

Closed rchl closed 2 years ago

rchl commented 2 years ago

The check for the existence of jq using shutil.which didn't really work since shutil.which does not ever throw so jq_exists have always been True, even if jq was missing on the system.

Fixed that and also: