Skip to content

Commit

Permalink
fix: take realpath of process.cwd(), fixes #7 (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
motiz88 authored and bcoe committed Jul 3, 2016
1 parent 320c3df commit e8d3785
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ let exclude
function shouldSkip (file) {
if (!exclude) {
exclude = testExclude({
cwd: getRealpath(process.cwd()),
configKey: 'nyc',
configPath: dirname(findUp.sync('package.json'))
})
Expand Down

0 comments on commit e8d3785

Please sign in to comment.