Skip to content

Conversation

@novemberborn
Copy link
Member

@novemberborn novemberborn commented Feb 16, 2017

Fixes #1270
Fixes #1268

@vadimdemedes
Copy link
Contributor

This is nice! I like the new isWithinProject and isDependency props.

Builds are failing though. Otherwise, 👍

Don't show code excerpts for dependencies or code outside the project
directory. Determine where the source lives when serializing the error.
Then, when excerpting the code, bail if it lives outside the project
or is a dependency.
@novemberborn
Copy link
Member Author

Builds are failing though

Fixed now. On my local machine tap was including source-map-support, but that didn't seem to be happening on CI. Perhaps a caching issue, but it's better to include it explicitly anyway.

@sindresorhus sindresorhus merged commit f3b60f4 into master Feb 18, 2017
@sindresorhus sindresorhus deleted the code-excerpt-fixes branch February 18, 2017 08:44
@sindresorhus
Copy link
Member

Excellent :)

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.

4 participants