Skip to content

Commit

Permalink
chore: appease linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Shaw committed Aug 25, 2023
1 parent 4b6336f commit 34b57ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const findShardCid = async (node: PBNode, name: string, blockstore: ReadableStor
if (node.Data == null) {
throw errCode(new Error('no data in PBNode'), 'ERR_NOT_UNIXFS')
}

let dir: UnixFS
try {
dir = UnixFS.unmarshal(node.Data)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ describe('exporter sharded', function () {
await block.put(nodeBlockCid, nodeBlockBuf)

const shardNodeBuf = dagPb.encode({
Data: new UnixFS({ type: 'hamt-sharded-directory', fanout: 2n**8n }).marshal(),
Data: new UnixFS({ type: 'hamt-sharded-directory', fanout: 2n ** 8n }).marshal(),
Links: [{
Name: '75normal-dir',
Tsize: nodeBlockBuf.length,
Expand Down

0 comments on commit 34b57ca

Please sign in to comment.