This change gives custom repositoryProviders more priority - this wil allow us to override base git repository implementation

This commit is contained in:
Valerii Iatsko
2016-01-06 00:05:58 +01:00
parent 96eff38707
commit 3b8375d2b4

View File

@@ -288,7 +288,7 @@ class Project extends Model
'atom.repository-provider',
'^0.1.0',
(provider) =>
@repositoryProviders.push(provider)
@repositoryProviders.unshift(provider)
@setPaths(@getPaths()) if null in @repositories
new Disposable =>
@repositoryProviders.splice(@repositoryProviders.indexOf(provider), 1)