fix scoping bug

This commit is contained in:
Clemens Damke 2015-06-26 09:35:16 +02:00
parent 26fc816b1c
commit e18f379366
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ module.exports = class JSCSFixer extends Beautifier
beautify: (text, language, options) -> beautify: (text, language, options) ->
@verbose("JSCS Fixer language #{language}") @verbose("JSCS Fixer language #{language}")
return new @Promise((resolve, reject) -> return new @Promise((resolve, reject) =>
try try
if !checker? if !checker?
cliConfig = require 'jscs/lib/cli-config' cliConfig = require 'jscs/lib/cli-config'