From 104fcb53282653a1c5610a6590afecc207920a6b Mon Sep 17 00:00:00 2001 From: Luke Karrys Date: Mon, 29 Apr 2024 16:10:33 -0700 Subject: [PATCH] fix: remove doctor log for each file permission check (#7438) The previous change was made as part of the removal of the old progress bar for doctor. Log messages for each individual file scanned were moved from showing up in the progress message only to `log.silly`. There can be a very large amount of files scanned, and there is no reason to log each one individually. --- lib/commands/doctor.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/commands/doctor.js b/lib/commands/doctor.js index 339dcf15f70f2..e46c97a94bc90 100644 --- a/lib/commands/doctor.js +++ b/lib/commands/doctor.js @@ -223,7 +223,6 @@ class Doctor extends BaseCommand { const gid = process.getgid() const files = new Set([root]) for (const f of files) { - log.silly('doctor', 'checkFilesPermission', f.slice(root.length + 1)) const st = await lstat(f).catch(er => { // if it can't be missing, or if it can and the error wasn't that it was missing if (!missingOk || er.code !== 'ENOENT') {