Browse Source

fixed logic error

Hao Luo 6 years ago
parent
commit
5be46eb8c0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      index.js

+ 1 - 1
index.js

@@ -93,7 +93,7 @@ module.exports = {
       lang = userDefined[lang] || MAP_LANGUAGES[lang] || lang;
 
       // Check to see if the lang is ignored
-      if (userIgnored.indexOf(lang) === -1) {
+      if (userIgnored.indexOf(lang) > -1) {
         return block.body
       }