-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Conversation
@@ -10,7 +10,7 @@ | |||
"libp2p-ipfs-nodejs": "libp2p-ipfs-browser", | |||
"./src/core/default-repo.js": "./src/core/default-repo-browser.js", | |||
"./src/core/components/init-assets.js": false, | |||
"./test/utils/temp-repo.js": "./test/utils/temp-repo-browser.js", | |||
"./test/utils/create-repo-node.js": "./test/utils/create-repo-browser.js", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can't this just be create-repo rather?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it could, I just standardize it because we always tag node
and browser
everywhere to distinguish the two, if distinction needs to happen
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair enough!
@@ -14,7 +14,7 @@ function createTempRepo (repoPath) { | |||
|
|||
repo.teardown = (done) => { | |||
clean(repoPath) | |||
done() | |||
setImmediate(() => done()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this needed here now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should probably explain in a code-comment with reason
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is just a safe guard, a best practice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
No description provided.