Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 7dd53df

Browse files
committed
Fix the build, the extension changes are on a separate branch
1 parent 1aaea46 commit 7dd53df

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/GitHub.Exports/Models/SimpleRepositoryModel.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using GitHub.Extensions;
22
using GitHub.Primitives;
33
using GitHub.UI;
4+
using GitHub.VisualStudio;
45
using GitHub.VisualStudio.Helpers;
56
using System;
67
using System.Diagnostics;
@@ -26,7 +27,7 @@ public SimpleRepositoryModel(string path)
2627
throw new ArgumentNullException("path");
2728
if (!Directory.Exists(path))
2829
throw new ArgumentException("Path does not exist", path);
29-
var uri = GitHelpers.GetRepoFromPath(path)?.GetUri();
30+
var uri = VisualStudio.Services.GetRepoFromPath(path)?.GetUri();
3031
var name = uri?.NameWithOwner;
3132
if (name == null)
3233
name = Path.GetDirectoryName(name);
@@ -58,7 +59,7 @@ public void Refresh()
5859
{
5960
if (LocalPath == null)
6061
return;
61-
var uri = GitHelpers.GetRepoFromPath(LocalPath)?.GetUri();
62+
var uri = VisualStudio.Services.GetRepoFromPath(LocalPath)?.GetUri();
6263
if (CloneUrl != uri)
6364
CloneUrl = uri;
6465
}

0 commit comments

Comments
 (0)