Skip to content

Commit

Permalink
fix(Default): Don't load browser-only APIs
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
  • Loading branch information
marcelklehr committed Nov 28, 2024
1 parent 8c3e0db commit e4eba24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/strategies/Default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ export default class SyncProcess {
const newMappings = []

let localScanner, serverScanner
if (this.localTree instanceof LocalTabs) {
if (this.localTree.constructor.name === 'LocalTabs') {
// if we have the cache available, Diff cache and both trees
localScanner = new Scanner(
this.cacheTreeRoot,
Expand Down

0 comments on commit e4eba24

Please sign in to comment.