GSI - Employe Self Service Mobile
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.

12 lines
578 B

2 months ago
  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;