Skip to content

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.

EsrefDurna pushed a commit to EsrefDurna/coffeescript that referenced this pull request Nov 12, 2025
Fix a typo causing module.paths to be always set as the cwd.
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