Skip to content

Commit a10ffad

Browse files
authored
Merge pull request #122 from isomorphic-git/fix-init-delay
fix: required delay after init
2 parents 8ae38ec + b27d868 commit a10ffad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PromisifiedFS.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ module.exports = class PromisifiedFS {
9494
if (!options.defer) {
9595
// The fs is initially activated when constructed (in order to wipe/save the superblock)
9696
// This is not awaited, because that would create a cycle.
97-
this.stat('/')
97+
this._deactivate()
9898
}
9999
}
100100
async _gracefulShutdown () {

0 commit comments

Comments
 (0)