We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1dd550a + f5a247d commit 0662988Copy full SHA for 0662988
src/lib/processSnapshot.ts
@@ -72,7 +72,7 @@ export default class Queue {
72
}
73
74
isEmpty(): boolean {
75
- return this.snapshots.length ? false : true;
+ return this.snapshots && this.snapshots.length ? false : true;
76
77
78
0 commit comments