Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
GrantBirki committed Aug 12, 2024
1 parent 67e16f0 commit 582a57d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/octokit/client/pull_requests.cr
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ module Octokit
# Octokit.close_pull_request("crystal-lang/crystal", 123)
# ```
# def close_pull_request(repo : String, number : Int64, **options)
# TODO
# TODO
# end

# Update a pull request branch
Expand All @@ -80,7 +80,7 @@ module Octokit
# **Examples:**
# ```
# Octokit.update_pull_request_branch("crystal-lang/crystal", 123)
# ```
# ```
def update_pull_request_branch(repo : String, number : Int64, **options) : Bool
boolean_from_response(
:put,
Expand Down
2 changes: 1 addition & 1 deletion src/octokit/connection.cr
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module Octokit
CONVENIENCE_HEADERS = Set{"accept", "content_type"}

# Successful status codes from PUT/POST/PATCH requests
SUCCESSFUL_STATUSES = [201, 202, 204]
SUCCESSFUL_STATUSES = [201, 202, 204]

# Make a HTTP GET request
def get(url, options = nil)
Expand Down

0 comments on commit 582a57d

Please sign in to comment.