fix(backups/extractIdsFromSimplePattern): returns []
for undefined
pattern
This commit is contained in:
parent
57fa00b765
commit
750308a16a
@ -1,4 +1,8 @@
|
||||
function extractIdsFromSimplePattern(pattern) {
|
||||
if (pattern === undefined) {
|
||||
return []
|
||||
}
|
||||
|
||||
if (pattern === null || typeof pattern !== 'object') {
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user