packages/deploy-aws/src/templates/seagull_pipeline.ts
Function createPipeline
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async createPipeline() {
setCredsByProfile(this.profile)
// preparations for deployment
const isTest = this.stage === 'test'
const suffix = `${isTest ? `-${this.branch}-test` : ''}-ci`
Function constructor
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
constructor(props: SeagullPipelineProps) {
this.appPath = props.appPath
this.branch = props.branch
this.computeTypeSize = props.computeTypeSize
this.stage = props.stage