Skip to content

Commit 34b57ca

Browse files
author
Alan Shaw
committed
chore: appease linter
1 parent 4b6336f commit 34b57ca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/ipfs-unixfs-exporter/src/utils/find-cid-in-shard.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const findShardCid = async (node: PBNode, name: string, blockstore: ReadableStor
6868
if (node.Data == null) {
6969
throw errCode(new Error('no data in PBNode'), 'ERR_NOT_UNIXFS')
7070
}
71-
71+
7272
let dir: UnixFS
7373
try {
7474
dir = UnixFS.unmarshal(node.Data)

packages/ipfs-unixfs-exporter/test/exporter-sharded.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ describe('exporter sharded', function () {
241241
await block.put(nodeBlockCid, nodeBlockBuf)
242242

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

0 commit comments

Comments
 (0)