Açıklama Yok
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.

deploymentTool.js 749B

12345678910111213141516171819202122
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.isFirebaseManaged = exports.labels = exports.value = exports.BASE = void 0;
  4. exports.BASE = "cli-firebase";
  5. function value() {
  6. if (!process.env.FIREBASE_DEPLOY_AGENT) {
  7. return exports.BASE;
  8. }
  9. return [exports.BASE, process.env.FIREBASE_DEPLOY_AGENT].join("--");
  10. }
  11. exports.value = value;
  12. function labels() {
  13. return {
  14. "deployment-tool": value(),
  15. };
  16. }
  17. exports.labels = labels;
  18. function isFirebaseManaged(labels) {
  19. var _a;
  20. return (_a = labels === null || labels === void 0 ? void 0 : labels["deployment-tool"]) === null || _a === void 0 ? void 0 : _a.startsWith(exports.BASE);
  21. }
  22. exports.isFirebaseManaged = isFirebaseManaged;