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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "backend-manager",
3
- "version": "3.2.72",
3
+ "version": "3.2.73",
4
4
  "description": "Quick tools for developing Firebase functions",
5
5
  "main": "src/manager/index.js",
6
6
  "bin": {
@@ -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