Remove the debug_lexer option, replace with loggerLevel check

This commit is contained in:
Joe Hansche 2015-08-04 13:26:23 -04:00
parent 758fe29253
commit b13fa00d98
2 changed files with 2 additions and 6 deletions

View File

@ -121,7 +121,8 @@ module.exports = class Gherkin extends Beautifier
lexer = new Lexer(recorder)
lexer.scan(text)
if options.debug_lexer
loggerLevel = atom?.config.get('atom-beautify._loggerLevel')
if loggerLevel is 'verbose'
for line in recorder.lines
logger.verbose("> #{line}")

View File

@ -29,9 +29,4 @@ module.exports = {
default: defaultIndentChar
minimum: 0
description: "Indentation character"
debug_lexer:
type: 'boolean'
default: false
description: "Enable debug logs of the Gherkin Lexer"
}