From 33785506fc420e4327ba3b6ff3221b0c938bc964 Mon Sep 17 00:00:00 2001 From: undefined Date: Mon, 27 Oct 2025 09:27:33 +0000 Subject: [PATCH] fix: prettylist should output valid json --- lib/API.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/API.js b/lib/API.js index ced8e6f10..4a5f92e71 100644 --- a/lib/API.js +++ b/lib/API.js @@ -1667,7 +1667,7 @@ class API { } if (debug) { - process.stdout.write(util.inspect(list, false, null, false)); + process.stdout.write(JSON.stringify(list, null, 2)); } else { process.stdout.write(JSON.stringify(list));