backend-manager 3.2.119 → 3.2.120

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.119",
3
+ "version": "3.2.120",
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
@@ -419,6 +419,23 @@ Main.prototype.setup = async function () {
419
419
  return !!pass;
420
420
  }, fix_runtimeConfig);
421
421
 
422
+ // await self.test('using proper env', async function () {
423
+ // let runtimeconfig = JSON.parse(jetpack.read(`${self.firebaseProjectPath}/functions/.runtimeconfig.json`) || '{}');
424
+ // let ogPaths = getObjectPaths(runtimeconfigTemplate).split('\n');
425
+ // let pass = true;
426
+
427
+ // for (var i = 0, l = ogPaths.length; i < l; i++) {
428
+ // let item = ogPaths[i];
429
+ // if (!item) {continue}
430
+ // pass = _.get(runtimeconfig, item, undefined);
431
+ // if (typeof pass === 'undefined') {
432
+ // break;
433
+ // }
434
+ // }
435
+
436
+ // return !!pass;
437
+ // }, fix_runtimeConfig);
438
+
422
439
  await self.test('using proper backend-manager-config.json', async function () {
423
440
  const bemConfig = JSON.parse(self.bemConfigJSON);
424
441
 
@@ -991,8 +991,6 @@ function requireJSON5(p) {
991
991
 
992
992
  function manuallyLoadRuntimeConfig(cwd) {
993
993
  try {
994
- console.log('=====+++', jetpack.list(cwd));
995
- console.log('=====+++', require(path.resolve(cwd, '.runtimeconfig.json')));
996
994
  return require(path.resolve(cwd, '.runtimeconfig.json'));
997
995
  } catch (e) {
998
996
  return {};