@teambit/workspace
Version:
22 lines (20 loc) • 693 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.IncorrectEnvAspect = void 0;
function _bitError() {
const data = require("@teambit/bit-error");
_bitError = function () {
return data;
};
return data;
}
class IncorrectEnvAspect extends _bitError().BitError {
constructor(id, envType, envId) {
super(`"${id}" is configured in workspace.json, but using the "${envId}" environment, which is type "${envType}".
please make sure to either apply the aspect environment or a composition of the aspect environment for the aspect to load.`);
}
}
exports.IncorrectEnvAspect = IncorrectEnvAspect;
//# sourceMappingURL=incorrect-env-aspect.js.map