fix: protect isDraftable against undefined constructor (#969)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
* protect against undefined constructor * add test case
authored by Brian Hung · committed by GitHub · parent 078e523 · Browse files · 2 files+8 added−1 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+8 added−1 removed
- tests:+7 added−0 removed
- other:+1 added−1 removed