mirror of
https://github.com/pnpm/pnpm.git
synced 2026-05-06 15:07:27 -04:00
fix: change warning message of package refetch
This commit is contained in:
@@ -466,7 +466,7 @@ function fetchToStore (
|
||||
finishing.resolve(undefined)
|
||||
return
|
||||
}
|
||||
storeLogger.warn(`Refetching ${target} to store, as it was modified`)
|
||||
storeLogger.warn(`Refetching ${target} to store. It was either modified or had no integrity checksums`)
|
||||
}
|
||||
|
||||
// We fetch into targetStage directory first and then fs.rename() it to the
|
||||
|
||||
@@ -662,7 +662,7 @@ test('refetch package to store if it has been modified', async (t) => {
|
||||
t.ok(reporter.calledWithMatch({
|
||||
level: 'warn',
|
||||
name: 'pnpm:store',
|
||||
message: `Refetching ${path.join(storePath, pkgId)} to store, as it was modified`,
|
||||
message: `Refetching ${path.join(storePath, pkgId)} to store. It was either modified or had no integrity checksums`,
|
||||
}), 'refetch logged')
|
||||
|
||||
t.end()
|
||||
@@ -726,7 +726,7 @@ test('refetch package to store if it has no integrity checksums and verification
|
||||
t.ok(reporter.calledWithMatch({
|
||||
level: 'warn',
|
||||
name: 'pnpm:store',
|
||||
message: `Refetching ${path.join(storePath, pkgId)} to store, as it was modified`,
|
||||
message: `Refetching ${path.join(storePath, pkgId)} to store. It was either modified or had no integrity checksums`,
|
||||
}), 'refetch logged')
|
||||
|
||||
t.end()
|
||||
|
||||
Reference in New Issue
Block a user