Skip to content

Commit

Permalink
Fixes #81
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdima committed Jul 12, 2019
1 parent 10459be commit 14cb224
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/grammar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -381,9 +381,6 @@ export class Grammar implements IGrammar, IRuleFactoryHelper, IOnigLib {
}
this._injections.sort((i1, i2) => i1.priority - i2.priority); // sort by priority
}
if (this._injections.length === 0) {
return this._injections;
}
return this._injections;
}

Expand Down

0 comments on commit 14cb224

Please sign in to comment.