Skip to content

Commit

Permalink
Merge pull request #1030 from alexnoz/patch-1
Browse files Browse the repository at this point in the history
Remove unnecessary 'const' assignment
  • Loading branch information
Rich-Harris authored Dec 18, 2017
2 parents d07c334 + 99c1f42 commit c13b6ad
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/parse/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ export class Parser {
const match = pattern.exec(this.template.slice(start));

if (match) {
const start = this.index;
this.index = start + match.index;
return this.template.slice(start, this.index);
}
Expand Down

0 comments on commit c13b6ad

Please sign in to comment.