@catladder/pipeline
Version:
Panter workflow for cloud CI/CD and DevOps
11 lines (10 loc) • 392 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.getBashExpressionPerPipelineType = void 0;
var getBashExpressionPerPipelineType = function (definition, pipelineType) {
if (!pipelineType) return definition.default;
return definition[pipelineType] || definition.default;
};
exports.getBashExpressionPerPipelineType = getBashExpressionPerPipelineType;