Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Merge pull request #590 from joaomoreno/joao/fix-586
Browse files Browse the repository at this point in the history
Fix undefined access error
  • Loading branch information
jrbriggs authored Nov 6, 2019
2 parents 2908ec8 + bf54156 commit 50e9c03
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tfvc/tfvcscmprovider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ export class TfvcSCMProvider {
}

private onDidModelChange(): void {
if (!this.conflictsGroup) {
return;
}

this.conflictsGroup.resourceStates = this._model.ConflictsGroup.resources;
this.includedGroup.resourceStates = this._model.IncludedGroup.resources;
this.excludedGroup.resourceStates = this._model.ExcludedGroup.resources;
Expand Down

0 comments on commit 50e9c03

Please sign in to comment.