cwjohan / markdown-to-html

Command-line utility to convert Github Flavored Markdown to HTML.
MIT License
236 stars 86 forks source link

Changed to /usr/bin/env node #7

Closed timmattison closed 7 years ago

timmattison commented 7 years ago

Changing the interpreter path to /usr/bin/env node from just node will make this work for many more people (at least on Linux and MacOS) out of the box. I'm not sure if this has any effect on Windows users.

cwjohan commented 7 years ago

Yes, windows will say it can't find node.

On Tue, Sep 6, 2016 at 5:18 PM, Tim Mattison notifications@github.com wrote:

Changing the interpreter path to /usr/bin/env node from just node will make this work for many more people (at least on Linux and MacOS) out of

the box. I'm not sure if this has any effect on Windows users.

You can view, comment on, or merge this pull request online at:

https://github.com/cwjohan/markdown-to-html/pull/7 Commit Summary

  • Changed to /usr/bin/env node

File Changes

Patch Links:

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cwjohan/markdown-to-html/pull/7, or mute the thread https://github.com/notifications/unsubscribe-auth/AH5q3DAKxBnIM0oeMzPkVL5YrKvU4Hfnks5qngLSgaJpZM4J2agc .

cwjohan commented 7 years ago

Changing the she-bang line to use /usr/bin/env node, which for Unix/Linux users will use their path variable to find the node executable.