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

module: replace default paths in require.resolve() #17113

Merged
merged 1 commit into from
Nov 21, 2017

Commits on Nov 21, 2017

  1. module: replace default paths in require.resolve()

    Prior to this commit, the default search paths would be included
    in the require.resolve() process, even if user specified paths
    were provided. This commit causes the default paths to be
    omitted by using a fake parent module.
    
    Refs: nodejs#5963
    PR-URL: nodejs#17113
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig committed Nov 21, 2017
    Configuration menu
    Copy the full SHA
    8578e81 View commit details
    Browse the repository at this point in the history