mirror of
https://github.com/atom/atom.git
synced 2026-01-14 17:38:03 -05:00
fix lint
This commit is contained in:
@@ -129,9 +129,7 @@ module.exports = class TreeSitterGrammar {
|
||||
}
|
||||
|
||||
tokenizeLines(text, compatibilityMode = true) {
|
||||
return text
|
||||
.split('\n')
|
||||
.map(line => this.tokenizeLine(line, null, false));
|
||||
return text.split('\n').map(line => this.tokenizeLine(line, null, false));
|
||||
}
|
||||
|
||||
tokenizeLine(line, ruleStack, firstLine) {
|
||||
|
||||
Reference in New Issue
Block a user