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 a typo causing module.paths to be always set as the cwd. #3340

Merged
merged 1 commit into from
Jan 29, 2014
Merged

Fix a typo causing module.paths to be always set as the cwd. #3340

merged 1 commit into from
Jan 29, 2014

Conversation

goffrie
Copy link
Contributor

@goffrie goffrie commented Jan 29, 2014

options.fileName was used instead of options.filename.

`options.fileName` was used instead of `options.filename`.
jashkenas added a commit that referenced this pull request Jan 29, 2014
Fix a typo causing module.paths to be always set as the cwd.
@jashkenas jashkenas merged commit 114eccb into jashkenas:master Jan 29, 2014
@jashkenas
Copy link
Owner

How bad is this bug? What's the observed broken behavior?

@jwalton
Copy link

jwalton commented Jan 29, 2014

We have a package called benbria-build which has all our common build tools in it. When we run:

coffee ./node_modules/benbria-build/scripts/foo.coffee

Then foo.coffee complains that it can't find modules in ./node_modules/benbria-build/node_modules.

@jashkenas
Copy link
Owner

@michaelficarra ... feel like kicking the tires on your newfound ability to cut point releases?

@jwalton
Copy link

jwalton commented Jan 29, 2014

In theory, any time you run "coffee some-other-path/foo", you could run into this problem.

@michaelficarra
Copy link
Collaborator

Oh boy, this isn't a good one. @jashkenas: Yeah, I should have time to cut a point release this evening.

@jashkenas
Copy link
Owner

Is there a good way to add a test for this? And is there anything else anyone's noticed that should go into a quick point release?

@michaelficarra
Copy link
Collaborator

Working on the release.

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

Successfully merging this pull request may close these issues.

4 participants