backend-manager 3.2.72 → 3.2.73
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
|
@@ -41,8 +41,8 @@ Module.prototype.main = function () {
|
|
|
41
41
|
assistant.log(`onDownload(): tempPath`, tempPath);
|
|
42
42
|
assistant.log(`onDownload(): finalPath`, finalPath);
|
|
43
43
|
|
|
44
|
-
// Check for missing paths
|
|
45
|
-
if (!tempPath || !finalPath) {
|
|
44
|
+
// Check for missing paths (need to check for meta.finalPath as well because it's not always set)
|
|
45
|
+
if (!tempPath || !finalPath || !meta.finalPath) {
|
|
46
46
|
return reject(new Error(`onDownload(): tempPath or finalPath is missing`));
|
|
47
47
|
}
|
|
48
48
|
|