We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When doing
> node > rechoir = require('../../index.js') // from inside test fixtures > rechoir.load('./test.coffee')
rechoir will fail to load the specified module. This is due to the fact that it does not first path.resolve() the specified filepath.
When doing require(path.resolve(filepath)) instead, everything works fine.
require(path.resolve(filepath))
The text was updated successfully, but these errors were encountered:
56f547e
Fix: Ensure load() resolves the filepath before requiring (fixes #7)
af80b79
Successfully merging a pull request may close this issue.
When doing
rechoir will fail to load the specified module. This is due to the fact that it does not first path.resolve() the specified filepath.
When doing
require(path.resolve(filepath))
instead, everything works fine.The text was updated successfully, but these errors were encountered: