File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ function fix(node: any): Operation[] {
56
56
let fixOperations : Operation [ ] = [ ]
57
57
58
58
// The current node has no attribute that is v-for
59
- let havaTagAttr : boolean = false
59
+ let hasTagAttr : boolean = false
60
60
node . startTag . attributes
61
61
. filter (
62
62
( attr : any ) =>
@@ -65,9 +65,9 @@ function fix(node: any): Operation[] {
65
65
attr . key . name === 'tag'
66
66
)
67
67
. forEach ( ( element : any ) => {
68
- havaTagAttr = true
68
+ hasTagAttr = true
69
69
} )
70
- if ( havaTagAttr ) {
70
+ if ( hasTagAttr ) {
71
71
return fixOperations
72
72
}
73
73
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ function fix(node: any): Operation[] {
61
61
const target : any = node ! . parent ! . parent
62
62
63
63
// The current node has no attribute that is v-for
64
- let havaBrotherAttr : boolean = false
64
+ let hasTargetAttr : boolean = false
65
65
target . startTag . attributes
66
66
. filter (
67
67
( attr : any ) =>
@@ -72,9 +72,9 @@ function fix(node: any): Operation[] {
72
72
attr . key . name . name === 'else' )
73
73
)
74
74
. forEach ( ( element : any ) => {
75
- havaBrotherAttr = true
75
+ hasTargetAttr = true
76
76
} )
77
- if ( ! havaBrotherAttr ) {
77
+ if ( ! hasTargetAttr ) {
78
78
return fixOperations
79
79
}
80
80
You can’t perform that action at this time.
0 commit comments