This repository was archived by the owner on Jun 21, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-10
lines changed
Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change 1515using ReactiveUI ;
1616using Rothko ;
1717
18+ #pragma warning disable CS0649
19+
1820namespace GitHub . Services
1921{
22+ using Microsoft . VisualStudio . Shell ;
2023 using Guard = GitHub . Extensions . Guard ;
2124
2225 [ Export ( typeof ( IUsageTracker ) ) ]
@@ -67,16 +70,8 @@ public UsageTracker(
6770 ////Lazy<IAppVersionProvider> appVersionProvider,
6871 Lazy < IEnvironment > environment ,
6972 IPackageSettings userSettings ,
70- IServiceProvider serviceProvider )
73+ IUIProvider serviceProvider )
7174 {
72- Guard . ArgumentNotNull ( cache , "cache" ) ;
73- ////Guard.ArgumentNotNull(trackedRepositories, "trackedRepositories");
74- Guard . ArgumentNotNull ( repositoryHosts , "repositoryHosts" ) ;
75- ////Guard.ArgumentNotNull(appVersionProvider, "appVersionProvider");
76- Guard . ArgumentNotNull ( environment , "environment" ) ;
77- Guard . ArgumentNotNull ( userSettings , "userSettings" ) ;
78- Guard . ArgumentNotNull ( serviceProvider , "serviceProvider" ) ;
79-
8075 this . cache = cache ;
8176 ////this.trackedRepositories = trackedRepositories;
8277 this . repositoryHosts = repositoryHosts ;
Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ IObservable<Unit> OnCloneRepository(object state)
134134 // The following is a noop if the directory already exists.
135135 operatingSystem . Directory . CreateDirectory ( BaseRepositoryPath ) ;
136136
137- // Are we OK doing this here or should we be doing it after the clone succeeds.
137+ // Are we OK doing this here or should we be doing it after the clone succeeds?
138138 this . usageTracker . IncrementCloneCount ( ) ;
139139
140140 return cloneService . CloneRepository ( repository . CloneUrl , repository . Name , BaseRepositoryPath ) ;
You can’t perform that action at this time.
0 commit comments