0
0
mirror of https://github.com/tj/n.git synced 2024-11-25 07:39:21 +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 fi
printf "\njq\n" printf "\njq\n"
if command -v jq &> /dev/null; then command -v jq && jq --version
jq --version
else
echo "jq not found, can be used to get package.json values faster than node"
fi
printf "\nuname\n" printf "\nuname\n"
uname -a uname -a