@onehat/data 1.8.21 → 1.8.23
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,12 +1605,14 @@ 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 false;
|
|
1610
|
+
}
|
|
1609
1611
|
if (!_.isArray(entities)) {
|
|
1610
1612
|
entities = [entities];
|
|
1611
1613
|
}
|
|
1612
1614
|
if (!entities.length) {
|
|
1613
|
-
return;
|
|
1615
|
+
return false;
|
|
1614
1616
|
}
|
|
1615
1617
|
_.each(entities, (entity) => {
|
|
1616
1618
|
if (entity.isPhantom) {
|