Skip to content

feature: support passing in .nycrc-path to nyc #107

Open
@Aghassi

Description

@Aghassi

code-coverage/task.js

Lines 103 to 108 in 8f6154a

const args = [
'report',
'--report-dir',
reportDir,
'--temp-dir',
coverageFolder

Currently, this will only allow us to lookup the .nycrc from the working directory. However, in the event you are using this from something that is not in the current working directory (like a CLI with predefined configs), we can't point the nyc runner to a different file location on disk to look for the rc file. My request is that an option be added that would allow me to pass in an nycrc path to get the rc file, and if none is passed use the default

Metadata

Metadata

Assignees

No one assigned

    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