Nessuna descrizione
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

requireConfig.js 531B

12345678910111213
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.requireConfig = void 0;
  4. const error_1 = require("./error");
  5. async function requireConfig(options) {
  6. return new Promise((resolve, reject) => {
  7. var _a;
  8. return options.config
  9. ? resolve()
  10. : reject((_a = options.configError) !== null && _a !== void 0 ? _a : new error_1.FirebaseError("Not in a Firebase project directory (could not locate firebase.json)"));
  11. });
  12. }
  13. exports.requireConfig = requireConfig;