@catladder/cli
Version:
Panter cli tool for cloud CI/CD and DevOps
10 lines • 455 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getBashExpressionPerPipelineType = void 0;
const getBashExpressionPerPipelineType = (definition, pipelineType) => {
if (!pipelineType)
return definition.default;
return definition[pipelineType] || definition.default;
};
exports.getBashExpressionPerPipelineType = getBashExpressionPerPipelineType;
//# sourceMappingURL=bashExpressionPerPipelineType.js.map