Skip to content

Commit

Permalink
Remove unnecessary 'const' assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Nozdriukhin committed Dec 18, 2017
1 parent d07c334 commit 99c1f42
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 99c1f42

Please sign in to comment.