mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-05 09:57:14 -05:00
fix tests
This commit is contained in:
@@ -562,8 +562,10 @@ export class Process implements IProcess {
|
||||
if (this.sources.has(source.uri.toString())) {
|
||||
source = this.sources.get(source.uri.toString());
|
||||
source.raw = mixin(source.raw, raw);
|
||||
// Always take the latest presentation hint from adapter #42139
|
||||
source.raw.presentationHint = raw.presentationHint;
|
||||
if (source.raw && raw) {
|
||||
// Always take the latest presentation hint from adapter #42139
|
||||
source.raw.presentationHint = raw.presentationHint;
|
||||
}
|
||||
} else {
|
||||
this.sources.set(source.uri.toString(), source);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user