Skip to content

Commit

Permalink
fix(path): fix typo of readIgnoreString (#3545)
Browse files Browse the repository at this point in the history
  • Loading branch information
hchlq committed Nov 18, 2022
1 parent a7c4627 commit 34964f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/path/src/tokenizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export class Tokenizer {
this.finishToken(nameTok, string)
}

readIngoreString() {
readIgnoreString() {
let startPos = this.state.pos,
prevCode,
string = ''
Expand Down Expand Up @@ -279,7 +279,7 @@ export class Tokenizer {
if (this.input.length <= this.state.pos) {
this.finishToken(eofTok)
} else if (this.curContext() === bracketDContext) {
this.readIngoreString()
this.readIgnoreString()
} else if (code === 123) {
this.state.pos++
this.finishToken(braceLTok)
Expand Down

0 comments on commit 34964f2

Please sign in to comment.