Skip to content

Commit

Permalink
fix: flow ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung committed Aug 29, 2019
1 parent f15f98d commit 8244a7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/babel-parser/src/tokenizer/index.js
Expand Up @@ -173,6 +173,7 @@ export default class Tokenizer extends LocationParser {
const thisTokEnd = this.state.pos;
skipWhiteSpace.lastIndex = thisTokEnd;
const skip = skipWhiteSpace.exec(this.input);
// $FlowIgnore: The skipWhiteSpace ensures to match any string
const next = thisTokEnd + skip[0].length;
return this.input.charCodeAt(next);
}
Expand Down

0 comments on commit 8244a7a

Please sign in to comment.