From 1982d7f405e74c8707def443da9af5b2eb2a5ad2 Mon Sep 17 00:00:00 2001 From: Glavin Wiechert Date: Mon, 10 Apr 2017 03:05:03 -0300 Subject: [PATCH] Fix linting issues --- src/beautifiers/index.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/beautifiers/index.coffee b/src/beautifiers/index.coffee index e229452..4575fe5 100644 --- a/src/beautifiers/index.coffee +++ b/src/beautifiers/index.coffee @@ -146,7 +146,7 @@ module.exports = class Beautifiers extends EventEmitter getLanguages : (grammar, filePath) -> # Get language - fileExtension = @getExtension(filePath) + fileExtension = @getExtension(filePath) if fileExtension languages = @languages.getLanguages({grammar, extension: fileExtension}) @@ -256,7 +256,7 @@ module.exports = class Beautifiers extends EventEmitter language = @getLanguage(grammar, filePath) # Check if unsupported language - if !language + if !language unsupportedGrammar = true logger.verbose('Unsupported language')