Skip to content

Commit

Permalink
fix: eslint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jul 15, 2021
1 parent 5bfdb8e commit feef034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CodeFormatManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -394,5 +394,5 @@ function isBracketPair(typedText: string): boolean {
return false
}
const validBracketPairs: Array<string> = atom.config.get("bracket-matcher.autocompleteCharacters") as any
return validBracketPairs.indexOf(typedText) !== -1
return validBracketPairs.includes(typedText)
}

0 comments on commit feef034

Please sign in to comment.