Skip to content

Commit

Permalink
Merge pull request #102 from rwky/master
Browse files Browse the repository at this point in the history
Fixed coffeescript failing to compile when coffeescript npm module is installed but coffee-script isn't
  • Loading branch information
GianlucaGuarini committed Sep 19, 2017
2 parents 883c0ce + c52822c commit c83db80
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lib/parsers/coffee.js
Expand Up @@ -7,8 +7,14 @@
2016-03-09: Initital release
*/
var
mixobj = require('./_utils').mixobj,
mixobj = require('./_utils').mixobj

var parser
try {
parser = require('coffee-script')
} catch (e) {
parser = require('coffeescript')
}

var defopts = {
bare: true
Expand Down

0 comments on commit c83db80

Please sign in to comment.