@onehat/data 1.21.13 → 1.21.14
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
|
@@ -340,7 +340,9 @@ class LocalFromRemoteRepository extends EventEmitter {
|
|
|
340
340
|
let command = this.commands[localItem.command];
|
|
341
341
|
|
|
342
342
|
if (!command) {
|
|
343
|
-
|
|
343
|
+
if (localItem.command) {
|
|
344
|
+
this.throwError('Command ' + localItem.command + ' not registered');
|
|
345
|
+
}
|
|
344
346
|
return;
|
|
345
347
|
}
|
|
346
348
|
if (!command.hasHandlers()) {
|