Skip to content

Commit

Permalink
disableAsyncCache now affects FetchFS
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Jul 20, 2024
1 parent e7ec89d commit 7c4ab63
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/backends/fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ export class FetchFS extends IndexFS {
return;
}
await super.ready();

if (this._disableSync) {
return;
}

/**
* Iterate over all of the files and cache their contents
*/
Expand Down

0 comments on commit 7c4ab63

Please sign in to comment.