Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 62311f8

Browse files
authored
fix: root datastore extension (#3768)
Fixes docker build problems
1 parent 3d91be2 commit 62311f8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/ipfs-core/src/runtime/repo-nodejs.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ module.exports = (print, codecs, options = {}) => {
4141
}
4242

4343
return createRepo(repoPath, (codeOrName) => codecs.getCodec(codeOrName), {
44-
root: new DatastoreFS(repoPath),
44+
root: new DatastoreFS(repoPath, {
45+
extension: ''
46+
}),
4547
blocks: new BlockstoreDatastoreAdapter(
4648
new ShardingDatastore(
4749
new DatastoreFS(`${repoPath}/blocks`, {

0 commit comments

Comments
 (0)