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

ensureCloudResourceLocation.js 578B

123456789101112
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.ensureLocationSet = void 0;
  4. const error_1 = require("./error");
  5. function ensureLocationSet(location, feature) {
  6. if (!location) {
  7. throw new error_1.FirebaseError(`Cloud resource location is not set for this project but the operation ` +
  8. `you are attempting to perform in ${feature} requires it. ` +
  9. `Please see this documentation for more details: https://firebase.google.com/docs/projects/locations`);
  10. }
  11. }
  12. exports.ensureLocationSet = ensureLocationSet;