mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-28 04:23:32 +01:00
Removes ==
This commit is contained in:
@@ -35,8 +35,7 @@ export class MainThreadTimeline implements MainThreadTimelineShape {
|
||||
|
||||
const emitters = this._providerEmitters;
|
||||
let onDidChange = emitters.get(provider.source);
|
||||
// eslint-disable-next-line eqeqeq
|
||||
if (onDidChange == null) {
|
||||
if (onDidChange === undefined) {
|
||||
onDidChange = new Emitter<URI | undefined>();
|
||||
emitters.set(provider.source, onDidChange);
|
||||
}
|
||||
|
||||
@@ -54,6 +54,7 @@ export class ExtHostTimeline implements IExtHostTimeline {
|
||||
timelineDisposables.clear();
|
||||
|
||||
const results = await provider.provideTimeline(uri, token);
|
||||
// Intentional == we don't know how a provider will respond
|
||||
// eslint-disable-next-line eqeqeq
|
||||
return results != null
|
||||
? results.map(item => convertTimelineItem(item))
|
||||
|
||||
Reference in New Issue
Block a user