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

Commit 81b6d8a

Browse files
committed
Lose the App form GitHub.App.Services
1 parent 9ad3ba7 commit 81b6d8a

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

src/GitHub.App/Services/GitHubContextService.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
using System.Text.RegularExpressions;
1010
using System.Runtime.InteropServices;
1111
using GitHub.Exports;
12-
using GitHub.Services;
1312
using GitHub.Extensions;
1413
using GitHub.Primitives;
1514
using Microsoft.VisualStudio;
@@ -19,7 +18,7 @@
1918
using LibGit2Sharp;
2019
using Task = System.Threading.Tasks.Task;
2120

22-
namespace GitHub.App.Services
21+
namespace GitHub.Services
2322
{
2423
[Export(typeof(IGitHubContextService))]
2524
public class GitHubContextService : IGitHubContextService

test/GitHub.App.UnitTests/Services/GitHubContextServiceTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using System;
22
using GitHub.Exports;
33
using GitHub.Services;
4-
using GitHub.App.Services;
54
using NSubstitute;
65
using NUnit.Framework;
76
using LibGit2Sharp;

test/GitHub.VisualStudio.UnitTests/Commands/OpenFromClipboardCommandTests.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using System.Threading.Tasks;
33
using GitHub.Exports;
44
using GitHub.Primitives;
5-
using GitHub.App.Services;
65
using GitHub.Services;
76
using GitHub.VisualStudio.Commands;
87
using Microsoft.VisualStudio;
@@ -160,8 +159,8 @@ public async Task HasChangesInWorkingDirectory(bool annotateFileSupported, strin
160159
gitHubContextService.Received(receivedTryOpenFile).TryOpenFile(repositoryDir, context);
161160
}
162161

163-
static GitHubContext CreateGitHubContext(UriString uri = null, string owner = "github", string repositoryName = "VisualStudio"
164-
string branch = "master")
162+
static GitHubContext CreateGitHubContext(UriString uri = null, string owner = "github",
163+
string repositoryName = "VisualStudio", string branch = "master")
165164
{
166165
uri = uri ?? new UriString($"https://github.com/{owner}/{repositoryName}/blob/{branch}/README.md");
167166

0 commit comments

Comments
 (0)