This commit is contained in:
jeanp413
2020-09-24 04:18:17 -05:00
parent 5497e60ed2
commit 459543baff
2 changed files with 5 additions and 1 deletions

View File

@@ -782,7 +782,7 @@ export class SnippetString {
}
appendChoice(values: string[], number: number = this._tabstop++): SnippetString {
const value = SnippetString._escape(values.toString());
const value = values.map(s => s.replace(/\$|}|\\|,/g, '\\$&')).join(',');
this.value += '${';
this.value += number;