Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit 58b43d4

Browse files
joshwiensmichael-ciniawsky
authored andcommitted
refactor(helpers): update deprecated chunk.parents
1 parent 05b41f3 commit 58b43d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export function isInitialOrHasNoParents(chunk) {
2-
return chunk.isInitial() || chunk.parents.length === 0;
2+
return chunk.isInitial() || chunk.getParents().length === 0;
33
}
44

55
export function isInvalidOrder(a, b) {

0 commit comments

Comments
 (0)