mirror of
https://github.com/tj/n.git
synced 2024-11-22 02:57:32 +01:00
Simplify doctor info for jq, in line with other diagnostics
This commit is contained in:
parent
d75cfc6c9f
commit
acf6b5c639
6
bin/n
6
bin/n
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user