Skip to content

Commit b383845

Browse files
authoredJan 19, 2022
fix: remove console output from migration (#376)
Removes extra console logging
1 parent d75379e commit b383845

File tree

1 file changed

+0
-3
lines changed
  • packages/ipfs-repo-migrations/migrations/migration-12

1 file changed

+0
-3
lines changed
 

‎packages/ipfs-repo-migrations/migrations/migration-12/index.js

-3
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,14 @@ async function storePeerUnderSingleDatastoreKey (backends, onProgress = () => {}
3434
const [_, prefix, type, peerId, metadataKey] = keyStr.split('/')
3535

3636
if (prefix !== 'peers') {
37-
console.info('unknown prefix', prefix)
3837
continue
3938
}
4039

4140
if (!['protos', 'addrs', 'metadata', 'keys'].includes(type)) {
42-
console.info('unknown type', type)
4341
continue
4442
}
4543

4644
if (!peerId) {
47-
console.info('no peerid')
4845
continue
4946
}
5047

0 commit comments

Comments
 (0)