Ingen beskrivning
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

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;