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

Fix moduleSearch() to be able to resolve paths outside of node_modules #33

Merged
merged 1 commit into from
May 24, 2016

Conversation

richrdkng
Copy link
Contributor

@richrdkng richrdkng commented May 24, 2016

When using dmd module in other projects (e.g.: gulp-jsdoc-to-markdown) and/or nested within directories, the moduleSearch() function cannot properly resolve module paths for custom plugins, when the path of plugins do not contain node_modules in their directory structure. This minor modification fixes this issue.

Fixes #32

…ucture

- When using dmd module in other projects (e.g.: gulp-jsdoc-to-markdown)
  and/or nested within directories, the moduleSearch() function cannot
  properly resolve module paths for custom plugins outside
  of its directory structure. This minor modification fixes this issue.
@75lb
Copy link
Member

75lb commented May 24, 2016

merged and released in dmd 1.4.0 - thanks again!

@richrdkng
Copy link
Contributor Author

Thanks for the great tool and your quick response! ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Cannot resolve paths of custom plugins, if they are not in node_modules directory structure
2 participants