We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b8a4a5 commit 2d7b8dfCopy full SHA for 2d7b8df
packages/bitcore-node/src/utils/cleanup.ts
@@ -28,9 +28,9 @@ Storage.start({})
28
.then(() => {
29
let cursor = BlockModel.collection.find({});
30
cursor.addCursorFlag('noCursorTimeout', true);
31
- cursor.pipe(new CleanupTransform());
32
- cursor.on('data', console.log);
33
- cursor.on('end', () => console.log('done'));
+ cursor.pipe(new CleanupTransform())
+ .on('data', console.log)
+ .on('end', () => console.log('done'));
34
})
35
.catch(e => {
36
console.error('fatal', e);
0 commit comments