@@ -96,7 +96,6 @@ class RepositoryManager : IRepositoryManager
96
96
private readonly IGitClient gitClient ;
97
97
private readonly IPlatform platform ;
98
98
private readonly IRepositoryPathConfiguration repositoryPaths ;
99
- private readonly ITaskManager taskManager ;
100
99
private readonly IRepositoryWatcher watcher ;
101
100
102
101
private bool isBusy ;
@@ -113,13 +112,12 @@ class RepositoryManager : IRepositoryManager
113
112
public event Action < string , string > OnRemoteBranchRemoved ;
114
113
public event Action OnRepositoryUpdated ;
115
114
116
- public RepositoryManager ( IPlatform platform , ITaskManager taskManager , IGitConfig gitConfig ,
115
+ public RepositoryManager ( IPlatform platform , IGitConfig gitConfig ,
117
116
IRepositoryWatcher repositoryWatcher , IGitClient gitClient ,
118
117
IRepositoryPathConfiguration repositoryPaths )
119
118
{
120
119
this . repositoryPaths = repositoryPaths ;
121
120
this . platform = platform ;
122
- this . taskManager = taskManager ;
123
121
this . gitClient = gitClient ;
124
122
this . watcher = repositoryWatcher ;
125
123
this . config = gitConfig ;
@@ -136,7 +134,7 @@ public static RepositoryManager CreateInstance(IPlatform platform, ITaskManager
136
134
137
135
var repositoryWatcher = new RepositoryWatcher ( platform , repositoryPathConfiguration , taskManager . Token ) ;
138
136
139
- return new RepositoryManager ( platform , taskManager , gitConfig , repositoryWatcher ,
137
+ return new RepositoryManager ( platform , gitConfig , repositoryWatcher ,
140
138
gitClient , repositoryPathConfiguration ) ;
141
139
}
142
140
0 commit comments