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 for issue #604 #763

Merged
merged 1 commit into from
Jul 26, 2012
Merged

Fix for issue #604 #763

merged 1 commit into from
Jul 26, 2012

Conversation

tstrimple
Copy link

This is a fix for issue #604 which caused stylus to crash when using
--line-numbers or firebug and stein at the same time. This was caused
by trying to call fs.realpathSync with a bogus file named stdin.

https://github.com/LearnBoost/stylus/issues/604

Obviously there is no path to include in the line numbers when using stdin, so I just used 'stdin' as the path name and prevented the call to fs.realpathSync which was causing the crash.

This is a fix for issue #604 which caused stylus to crash when using
--line-numbers or firebug and stein at the same time. This was caused
by trying to call fs.realpathSync with a bogus file named stdin.

https://github.com/LearnBoost/stylus/issues/604
tj added a commit that referenced this pull request Jul 26, 2012
@tj tj merged commit a32ba61 into stylus:master Jul 26, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants