Skip to content

PostProcessing could not be disabled in BuildConfig #13

@robertoschwald

Description

@robertoschwald

postprocessing could not be disabled in code-coverage-1.2.6 by BuildConfig.groovy:

coverage {
  noPost = true
}

Reason: _Events.groovy

def replaceClosureNamesInReports() {
    if (!argsMap.nopost || !buildConfig.coverage.noPost) {
       def startTime = new Date().time
       ...

leads to true when running without "-nopost" arg, as "!argsMap.nopost" is true in this case (argsMap.nopost is null in this case).

So only solution for now is to run with "-nopost" argument.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions