Skip to content

Commit

Permalink
Bug fix (#9437)
Browse files Browse the repository at this point in the history
  • Loading branch information
irismoini committed Dec 13, 2023
1 parent b035b82 commit 0980b25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dev/query/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export async function loadGraphs(cacheDir: string): Promise<{|
const cache = new LMDBCache(cacheDir);
for (let f of filesBySizeAndModifiedTime()) {
// Empty filename or not the first chunk
if (path.extname(f) !== '' && !f.endsWith('-0')) continue;
if (path.extname(f) !== '' || !f.endsWith('-0')) continue;
try {
let file = await cache.getLargeBlob(
path.basename(f).slice(0, -'-0'.length),
Expand Down

0 comments on commit 0980b25

Please sign in to comment.