@onehat/data 1.8.21 → 1.8.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1605,7 +1605,9 @@ export default class Repository extends EventEmitter {
|
|
|
1605
1605
|
if (this.isDestroyed) {
|
|
1606
1606
|
throw Error('this.delete is no longer valid. Repository has been destroyed.');
|
|
1607
1607
|
}
|
|
1608
|
-
|
|
1608
|
+
if (!entities) {
|
|
1609
|
+
return;
|
|
1610
|
+
}
|
|
1609
1611
|
if (!_.isArray(entities)) {
|
|
1610
1612
|
entities = [entities];
|
|
1611
1613
|
}
|