Skip to content

Commit

Permalink
Rename Fetcher to ReleaseFetcher
Browse files Browse the repository at this point in the history
  • Loading branch information
uhooi committed Sep 28, 2024
1 parent 9edaa5b commit d8ff34b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Sources/ReleaseSubscriptions/App.swift
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ struct App: AsyncParsableCommand {
let oldContents = try OutputFileHelper.load(repositories: repositories)

// 新しいコンテンツをGitHubから取得する
let newContents = try await Fetcher.fetch(repositories: repositories, accessToken: accessToken)
let newContents = try await ReleaseFetcher.fetch(repositories: repositories, accessToken: accessToken)

// 新旧のコンテンツをマージする
// `newContents` だと古いリリース情報を一発で取得できないため、マージする
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Fetcher.swift
// ReleaseFetcher.swift
// ReleaseSubscriptionsCore
//
// Created by treastrain on 2022/04/02.
Expand All @@ -11,7 +11,7 @@ import FoundationNetworking
#endif
import Logging

public struct Fetcher {
public struct ReleaseFetcher {
static let decoder: JSONDecoder = {
let decoder = JSONDecoder()
decoder.dateDecodingStrategy = .iso8601
Expand Down

0 comments on commit d8ff34b

Please sign in to comment.