Skip to content

Commit

Permalink
Merge pull request #3 from AuroraEditor/addRemote-discardableResult
Browse files Browse the repository at this point in the history
Make `addRemote` `@discardableResult`
  • Loading branch information
0xWDG authored Sep 14, 2023
2 parents 572aa31 + 3fc9c9d commit 7d3ff40
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public func getRemotes(directoryURL: URL) throws -> [IRemote] {
}

/// Add a new remote with the given URL.
@discardableResult
public func addRemote(directoryURL: URL,
name: String,
url: String) throws -> GitRemote? {
Expand Down

0 comments on commit 7d3ff40

Please sign in to comment.