Skip to content

SpottlessApply runs forever #2512

@P1tt187

Description

@P1tt187

I use the gradle spotless plugin.
Since version 7.0.4 calls to prettier are never terminated.
With version 7.0.3 the problem is not reproducible.

format("yaml") {
      target("**/*.yaml", "**/*.yml")     
      targetExclude("**/specs/external/*.yaml", "**/specs/external/*.yml")

      prettier()
        .npmrc("${rootDir}/.npmrc")
        .config(mapOf("singleQuote" to true, "proseWrap" to "always"))

      // Configuration from .editorconfig
      trimTrailingWhitespace()
      leadingTabsToSpaces(2)
      endWithNewline()
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions