Skip to content

Commit 6783a07

Browse files
committed
Removed unnecessary token and variable.
1 parent 0706962 commit 6783a07

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CCMenu/Source/Pipeline Window/GitHub Sheets/GitHubPipelineBuilder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class GitHubPipelineBuilder: ObservableObject {
7070

7171
private func fetchRuns(request: URLRequest) async -> Int? {
7272
do {
73-
let (data, response) = try await URLSession.feedSession.data(for: request)
73+
let (_, response) = try await URLSession.feedSession.data(for: request)
7474
guard let response = response as? HTTPURLResponse else { throw URLError(.unsupportedURL) }
7575
return response.statusCode
7676
} catch {

CCMenuUITests/GitHubTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class GitHubTests: XCTestCase {
5959
return try TestHelper.contentsOfFile("GitHubWorkflowRunsResponse.json")
6060
}
6161

62-
let app = TestHelper.launchApp(pipelines: "GitHubPipelineLocalhost.json", pauseMonitor: false, token: "TEST-TOKEN")
62+
let app = TestHelper.launchApp(pipelines: "GitHubPipelineLocalhost.json", pauseMonitor: false)
6363
let window = app.windows["Pipelines"]
6464

6565
// Make sure the update message shows that the limit was exceeded

0 commit comments

Comments
 (0)