Skip to content

Commit 450b236

Browse files
committed
WIP
1 parent 69f3c82 commit 450b236

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extension/cargo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,5 +448,5 @@ function debugConfigsFromCargoMetadata(metadata: any, options: CargoConfigOption
448448
}
449449

450450
function stringLiteral(s: string): string {
451-
return `"${s.replace('\\', '\\\\').replace('"', '\\"')}"`;
451+
return JSON.stringify(s);
452452
}

0 commit comments

Comments
 (0)