mirror of
https://github.com/pnpm/pnpm.git
synced 2026-04-10 18:18:56 -04:00
fix: don't print redundant warnings
This commit is contained in:
6
.changeset/cyan-trees-itch.md
Normal file
6
.changeset/cyan-trees-itch.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"@pnpm/core": patch
|
||||
"pnpm": patch
|
||||
---
|
||||
|
||||
Don't print warnings about file verifications. Just print info messages instead.
|
||||
@@ -31,7 +31,7 @@ import {
|
||||
} from '@pnpm/lockfile-file'
|
||||
import { writePnpFile } from '@pnpm/lockfile-to-pnp'
|
||||
import { extendProjectsWithTargetDirs } from '@pnpm/lockfile-utils'
|
||||
import logger, { globalWarn, streamParser } from '@pnpm/logger'
|
||||
import logger, { globalInfo, streamParser } from '@pnpm/logger'
|
||||
import { getAllDependenciesFromManifest } from '@pnpm/manifest-utils'
|
||||
import { write as writeModulesYaml } from '@pnpm/modules-yaml'
|
||||
import readModulesDirs from '@pnpm/read-modules-dir'
|
||||
@@ -199,7 +199,7 @@ export async function mutateModules (
|
||||
const result = await _install()
|
||||
|
||||
if (global['verifiedFileIntegrity'] > 1000) {
|
||||
globalWarn(`The integrity of ${global['verifiedFileIntegrity']} files was checked. This might have caused installation to take longer.`) // eslint-disable-line
|
||||
globalInfo(`The integrity of ${global['verifiedFileIntegrity']} files was checked. This might have caused installation to take longer.`) // eslint-disable-line
|
||||
}
|
||||
if ((reporter != null) && typeof reporter === 'function') {
|
||||
streamParser.removeListener('data', reporter)
|
||||
|
||||
Reference in New Issue
Block a user