Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

we now pass cwd around using env #1

Merged
merged 1 commit into from
May 9, 2015
Merged

we now pass cwd around using env #1

merged 1 commit into from
May 9, 2015

Conversation

bcoe
Copy link
Member

@bcoe bcoe commented May 9, 2015

  • rather than hardcoding cwd, we now pass around the process.env.NYC_CWD variable:
    • if process.env.NYC_CWD is not found, we assume this is a fresh run of the tool and: 1. delete the nyc_output directory, and 2. populate process.env.NYC_CWD with process.cwd()
  • rather than requiring that patterns are configured for folders that we should apply coverage reports to, we now exclude specific folders (node_modules, test).

bcoe added a commit that referenced this pull request May 9, 2015
we now pass cwd around using env
@bcoe bcoe merged commit beb31e1 into master May 9, 2015
@bcoe bcoe deleted the cwd-feature branch May 9, 2015 22:36
coreyfarrell pushed a commit to coreyfarrell/nyc that referenced this pull request Feb 21, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Sync repo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant