Skip to content

Literate CoffeeScript support #66

@billymoon

Description

@billymoon

It seems that having any file.coffee.md named files in the source folder breaks the toaster, with this error...

bash-3.2$ toaster -c
path.existsSync is now called `fs.existsSync`.

/usr/local/lib/node_modules/coffee-toaster/node_modules/coffee-script/lib/coffee-script/coffee-script.js:51
      throw err;
            ^
Error: Parse error on line 22: Unexpected '='
    at Object.parseError (/usr/local/lib/node_modules/coffee-toaster/node_modules/coffee-script/lib/coffee-script/parser.js:477:11)
    at Object.parse (/usr/local/lib/node_modules/coffee-toaster/node_modules/coffee-script/lib/coffee-script/parser.js:554:22)
    at Object.exports.compile.compile (/usr/local/lib/node_modules/coffee-toaster/node_modules/coffee-script/lib/coffee-script/coffee-script.js:43:20)
    at l.__t.Builder.l.compile (/usr/local/lib/node_modules/coffee-toaster/lib/toaster.js:1:16001)
    at l.__t.Builder.l.build (/usr/local/lib/node_modules/coffee-toaster/lib/toaster.js:1:13322)
    at l.__bind [as build] (/usr/local/lib/node_modules/coffee-toaster/lib/toaster.js:1:570)
    at f.exports.Toaster.f.build (/usr/local/lib/node_modules/coffee-toaster/lib/toaster.js:1:24845)
    at new f (/usr/local/lib/node_modules/coffee-toaster/lib/toaster.js:1:24530)
    at Object.exports.run (/usr/local/lib/node_modules/coffee-toaster/lib/toaster.js:1:23865)
    at Object.<anonymous> (/usr/local/lib/node_modules/coffee-toaster/bin/toaster:7:27)

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions