@sap/adp-common
Version:
common logic for all yeoman generators
14 lines • 472 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.EnvironmentUtils = void 0;
const feature_toggle_1 = require("@sap-ux/feature-toggle");
class EnvironmentUtils {
static isRunningInBAS() {
return !!process.env.H2O_URL;
}
static isInternalUsage() {
return (0, feature_toggle_1.isInternalFeaturesSettingEnabled)();
}
}
exports.EnvironmentUtils = EnvironmentUtils;
//# sourceMappingURL=EnvironmentUtils.js.map