We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69f3c82 commit 450b236Copy full SHA for 450b236
1 file changed
extension/cargo.ts
@@ -448,5 +448,5 @@ function debugConfigsFromCargoMetadata(metadata: any, options: CargoConfigOption
448
}
449
450
function stringLiteral(s: string): string {
451
- return `"${s.replace('\\', '\\\\').replace('"', '\\"')}"`;
+ return JSON.stringify(s);
452
0 commit comments