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