mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Merge from vscode 9bc92b48d945144abb405b9e8df05e18accb9148
This commit is contained in:
@@ -135,15 +135,15 @@ export namespace IMarkerData {
|
||||
export function makeKeyOptionalMessage(markerData: IMarkerData, useMessage: boolean): string {
|
||||
let result: string[] = [emptyString];
|
||||
if (markerData.source) {
|
||||
result.push(markerData.source.replace('¦', '\¦'));
|
||||
result.push(markerData.source.replace('¦', '\\¦'));
|
||||
} else {
|
||||
result.push(emptyString);
|
||||
}
|
||||
if (markerData.code) {
|
||||
if (typeof markerData.code === 'string') {
|
||||
result.push(markerData.code.replace('¦', '\¦'));
|
||||
result.push(markerData.code.replace('¦', '\\¦'));
|
||||
} else {
|
||||
result.push(markerData.code.value.replace('¦', '\¦'));
|
||||
result.push(markerData.code.value.replace('¦', '\\¦'));
|
||||
}
|
||||
} else {
|
||||
result.push(emptyString);
|
||||
@@ -157,7 +157,7 @@ export namespace IMarkerData {
|
||||
// Modifed to not include the message as part of the marker key to work around
|
||||
// https://github.com/microsoft/vscode/issues/77475
|
||||
if (markerData.message && useMessage) {
|
||||
result.push(markerData.message.replace('¦', '\¦'));
|
||||
result.push(markerData.message.replace('¦', '\\¦'));
|
||||
} else {
|
||||
result.push(emptyString);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user