drg-adaptive/serverless-rollup-plugin

View on GitHub

Showing 2 of 2 total issues

Function rollupFunction has 56 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  async rollupFunction() {
    const installCommand = this.configuration.installCommand ?? 'npm install';
    const concurrency = typeof this.configuration.concurrency === 'number'
      ? this.configuration.concurrency
      : Number.POSITIVE_INFINITY;
Severity: Major
Found in src/index.ts - About 2 hrs to fix

    Function getEntryExtension has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

      serverless: Serverless,
      ignore: Array<string>,
      fileName: string,
      name: string,
      { log }: Logging,
    Severity: Minor
    Found in src/utils/getEntryForFunction.ts - About 35 mins to fix
      Severity
      Category
      Status
      Source
      Language