0
0
mirror of https://github.com/tj/n.git synced 2024-11-21 18:48:57 +01:00

Simplify doctor info for jq, in line with other diagnostics

This commit is contained in:
John Gee 2024-08-16 16:32:28 +12:00
parent d75cfc6c9f
commit acf6b5c639

6
bin/n
View File

@ -1480,11 +1480,7 @@ function show_diagnostics() {
fi
printf "\njq\n"
if command -v jq &> /dev/null; then
jq --version
else
echo "jq not found, can be used to get package.json values faster than node"
fi
command -v jq && jq --version
printf "\nuname\n"
uname -a