Skip to content

Commit 104fcb5

Browse files
authored
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.
1 parent 9da5738 commit 104fcb5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/commands/doctor.js

-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,6 @@ class Doctor extends BaseCommand {
223223
const gid = process.getgid()
224224
const files = new Set([root])
225225
for (const f of files) {
226-
log.silly('doctor', 'checkFilesPermission', f.slice(root.length + 1))
227226
const st = await lstat(f).catch(er => {
228227
// if it can't be missing, or if it can and the error wasn't that it was missing
229228
if (!missingOk || er.code !== 'ENOENT') {

0 commit comments

Comments
 (0)