Skip to content

Commit

Permalink
chore: use 'const' instead of 'let' (#755) [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
wujieZ authored Feb 21, 2020
1 parent a840e7d commit c54aa43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/compiler-core/src/parse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ function parseAttributeValue(
if (!match) {
return undefined
}
let unexpectedChars = /["'<=`]/g
const unexpectedChars = /["'<=`]/g
let m: RegExpExecArray | null
while ((m = unexpectedChars.exec(match[0])) !== null) {
emitError(
Expand Down

0 comments on commit c54aa43

Please sign in to comment.