seagull-js/seagull

View on GitHub
packages/deploy-aws/src/templates/seagull_pipeline.ts

Summary

Maintainability
A
3 hrs
Test Coverage

Function createPipeline has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  async createPipeline() {
    setCredsByProfile(this.profile)
    // preparations for deployment
    const isTest = this.stage === 'test'
    const suffix = `${isTest ? `-${this.branch}-test` : ''}-ci`
Severity: Minor
Found in packages/deploy-aws/src/templates/seagull_pipeline.ts - About 1 hr to fix

    Function constructor has 29 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      constructor(props: SeagullPipelineProps) {
        this.appPath = props.appPath
        this.branch = props.branch
        this.computeTypeSize = props.computeTypeSize
        this.stage = props.stage
    Severity: Minor
    Found in packages/deploy-aws/src/templates/seagull_pipeline.ts - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status