File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,9 +24,9 @@ export abstract class GenericProcessor {
2424 }
2525
2626 replaceValueWithSubstitute ( value : string ) {
27- const substitue = `vscode-yaml-sort.${ this . filter } .${ this . store . size } `
28- this . store . set ( substitue , value )
29- this . text = this . text . replace ( value , substitue )
27+ const substitute = `vscode-yaml-sort.${ this . filter } .${ this . store . size } `
28+ this . store . set ( substitute , value )
29+ this . text = this . text . replace ( value , substitute )
3030 }
3131
3232 postprocess ( ) {
@@ -35,8 +35,8 @@ export abstract class GenericProcessor {
3535 } )
3636 }
3737
38- replaceSubstituteWithValue ( substitue : string , value : string ) {
39- const match = new RegExp ( `('|")?${ substitue } ('|")?` )
38+ replaceSubstituteWithValue ( substitute : string , value : string ) {
39+ const match = new RegExp ( `('|")?${ substitute } ('|")?` )
4040 this . text = this . text . replace ( match , value )
4141 }
4242}
You can’t perform that action at this time.
0 commit comments