暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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;