backend-manager 2.3.11 → 2.3.12

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/cli/cli.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "backend-manager",
3
- "version": "2.3.11",
3
+ "version": "2.3.12",
4
4
  "description": "Quick tools for developing Firebase functions",
5
5
  "main": "src/manager/index.js",
6
6
  "bin": {
package/src/cli/cli.js CHANGED
@@ -895,7 +895,7 @@ function fix_firestoreRulesFile(self) {
895
895
 
896
896
  if (!hasTemplate) {
897
897
  log(chalk.red(`Could not find rules template. Please edit ${name} file and add`), chalk.red(`{{backend-manager}}`), chalk.red(`to it.`));
898
- reject()
898
+ return resolve()
899
899
  }
900
900
 
901
901
  let matchesVersion = contents.match(self.default.rulesVersionRegex);
@@ -927,7 +927,7 @@ function fix_realtimeRulesFile(self) {
927
927
 
928
928
  if (!hasTemplate) {
929
929
  log(chalk.red(`Could not find rules template. Please edit ${name} file and add`), chalk.red(`{{backend-manager}}`), chalk.red(`to it.`));
930
- reject()
930
+ return resolve()
931
931
  }
932
932
 
933
933
  let matchesVersion = contents.match(self.default.rulesVersionRegex);