Skip to content

P1B: Refactor (script/github/close-prs.ts): Complex binary expression #31

Description

@slu8

Uniqueness check

  • I have searched open issues and confirmed this file + smell is not already taken.

Full path to the Typescript file

script/github/close-prs.ts

Function(s)/scope targeted

githubRequest()

Relevant Qlty output

script/github/close-prs.ts
    Complex binary expression

         319    if ((response.status === 403 || response.status === 429 || response.status >= 500) && retryMs > 0 && attempt < 10) {

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions