js2coffee / js2coffee

Compile JavaScript to CoffeeScript

Home Page:http://js2.coffee

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bash directive issue

pronebird opened this issue · comments

Hi,

I had one of bootstrap scripts that had a bash directive (or whatever it is) at the top of file.

#!/usr/bin/env node

js2coffee throws illegal token error when it stumbles upon that. Is it possible to transform such occurrence into a warning and output a comment with source line into generated coffee file?