diff --git a/lib/coffee-script/command.js b/lib/coffee-script/command.js index d497a40a..3a2355b6 100644 --- a/lib/coffee-script/command.js +++ b/lib/coffee-script/command.js @@ -241,7 +241,7 @@ printIt = function(buffer) { return printLine(file + ':\t' + buffer.toString().trim()); }; - conf = __dirname + '/../extras/jsl.conf'; + conf = __dirname + '/../../extras/jsl.conf'; jsl = spawn('jsl', ['-nologo', '-stdin', '-conf', conf]); jsl.stdout.on('data', printIt); jsl.stderr.on('data', printIt); diff --git a/src/command.coffee b/src/command.coffee index a1960ee6..c89e7d46 100644 --- a/src/command.coffee +++ b/src/command.coffee @@ -201,7 +201,7 @@ writeJs = (source, js, base) -> # any errors or warnings that arise. lint = (file, js) -> printIt = (buffer) -> printLine file + ':\t' + buffer.toString().trim() - conf = __dirname + '/../extras/jsl.conf' + conf = __dirname + '/../../extras/jsl.conf' jsl = spawn 'jsl', ['-nologo', '-stdin', '-conf', conf] jsl.stdout.on 'data', printIt jsl.stderr.on 'data', printIt