Fix linting issues
This commit is contained in:
parent
462447cad3
commit
1982d7f405
|
@ -146,7 +146,7 @@ module.exports = class Beautifiers extends EventEmitter
|
||||||
|
|
||||||
getLanguages : (grammar, filePath) ->
|
getLanguages : (grammar, filePath) ->
|
||||||
# Get language
|
# Get language
|
||||||
fileExtension = @getExtension(filePath)
|
fileExtension = @getExtension(filePath)
|
||||||
|
|
||||||
if fileExtension
|
if fileExtension
|
||||||
languages = @languages.getLanguages({grammar, extension: fileExtension})
|
languages = @languages.getLanguages({grammar, extension: fileExtension})
|
||||||
|
@ -256,7 +256,7 @@ module.exports = class Beautifiers extends EventEmitter
|
||||||
language = @getLanguage(grammar, filePath)
|
language = @getLanguage(grammar, filePath)
|
||||||
|
|
||||||
# Check if unsupported language
|
# Check if unsupported language
|
||||||
if !language
|
if !language
|
||||||
unsupportedGrammar = true
|
unsupportedGrammar = true
|
||||||
|
|
||||||
logger.verbose('Unsupported language')
|
logger.verbose('Unsupported language')
|
||||||
|
|
Loading…
Reference in New Issue