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

Show correct error message when failing to resolve #29

Closed
wants to merge 2 commits into from

Conversation

pahen
Copy link
Collaborator

@pahen pahen commented Jan 4, 2017

Depends on #28

Copy link
Collaborator

@mrjoelkemp mrjoelkemp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

return '';
}

try {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-blocker: we technically don't need all of this code in the try block. Only two statements might throw:

webpackResolve.create.sync(resolveConfig); and resolver(lookupPath, partial)

@mrjoelkemp mrjoelkemp closed this in d8a5cb2 Jan 4, 2017
mrjoelkemp added a commit to dependents/node-dependency-tree that referenced this pull request Jan 4, 2017
@mrjoelkemp
Copy link
Collaborator

Rebased this after merging the other PR and pushed the rebased version to master. Great work with the webpack fixes.

@pahen pahen deleted the webpack-resolve-error branch February 8, 2017 13:12
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.

2 participants