mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 06:21:50 +01:00
bug fixes and such, format
This commit is contained in:
@@ -56,7 +56,12 @@ export class FailureTracker {
|
||||
const prev = this.lastFailed.get(key);
|
||||
if (snapshot.taskStates.some(s => s.state === vscode.TestResultState.Failed)) {
|
||||
// unset the parent to avoid a circular JSON structure:
|
||||
getGitState().then(s => this.lastFailed.set(key, { snapshot: { ...snapshot, parent: undefined }, failing: s }));
|
||||
getGitState().then(s =>
|
||||
this.lastFailed.set(key, {
|
||||
snapshot: { ...snapshot, parent: undefined },
|
||||
failing: s,
|
||||
})
|
||||
);
|
||||
} else if (prev) {
|
||||
this.lastFailed.delete(key);
|
||||
getGitState().then(s => this.append({ ...prev, passing: s }));
|
||||
|
||||
Reference in New Issue
Block a user