From acf6b5c639c03b65ad6a3a5d0e939052aebef0e9 Mon Sep 17 00:00:00 2001 From: John Gee Date: Fri, 16 Aug 2024 16:32:28 +1200 Subject: [PATCH] Simplify doctor info for jq, in line with other diagnostics --- bin/n | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/bin/n b/bin/n index 5466101..c5cc199 100755 --- a/bin/n +++ b/bin/n @@ -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