backend-manager 4.0.7 → 4.0.8

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": "4.0.7",
3
+ "version": "4.0.8",
4
4
  "description": "Quick tools for developing Firebase functions",
5
5
  "main": "src/manager/index.js",
6
6
  "bin": {
@@ -69,7 +69,6 @@ Module.prototype.main = function (assistant, context) {
69
69
  // Check for errors
70
70
  if (settings.app instanceof Error) {
71
71
  assistant.error(`Error fetching app data`, settings.app);
72
-
73
72
  continue;
74
73
  }
75
74
 
@@ -79,7 +78,6 @@ Module.prototype.main = function (assistant, context) {
79
78
  // Quit if articles are disabled
80
79
  if (!settings.articles || !settings.sources.length) {
81
80
  assistant.log(`Quitting because articles are disabled`);
82
-
83
81
  continue;
84
82
  }
85
83
 
@@ -87,6 +85,7 @@ Module.prototype.main = function (assistant, context) {
87
85
  const chance = Math.random();
88
86
  if (chance > settings.chance) {
89
87
  assistant.log(`Quitting because the chance is not met (${chance} <= ${settings.chance})`);
88
+ continue;
90
89
  }
91
90
 
92
91
  // Harvest articles