No Description
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.

requireHostingSite.js 451B

123456789101112
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.requireHostingSite = void 0;
  4. const getDefaultHostingSite_1 = require("./getDefaultHostingSite");
  5. async function requireHostingSite(options) {
  6. if (options.site) {
  7. return Promise.resolve();
  8. }
  9. const site = await (0, getDefaultHostingSite_1.getDefaultHostingSite)(options);
  10. options.site = site;
  11. }
  12. exports.requireHostingSite = requireHostingSite;