fix scoping bug
This commit is contained in:
parent
26fc816b1c
commit
e18f379366
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue