Skip to content

Commit

Permalink
Whitespace fixes. (#205)
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
maleadt authored Nov 24, 2022
1 parent 35de1cc commit 927bb99
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ GitHub.jl implements a bunch of methods that make REST requests to GitHub's API.
|------------------------------------------|--------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `labels(repo,issue)` | `Vector{Label}` | [list labels from `issue`](https://docs.github.com/en/rest/reference/issues#list-labels-for-an-issue) |
| `add_labels(repo, issue, labels)` | `Vector{Label}` | [add labels to an `issue`](https://docs.github.com/en/rest/reference/issues#add-labels-to-an-issue) |
| `set_labels(repo, issue, labels)` | `Vector{Label}` | [set the labels for an `issue`](https://docs.github.com/en/rest/reference/issues#set-labels-for-an-issue)
| `remove_all_labels(repo, issue)` | `HTTP.Response` | [remove all labels from an `issue`](https://docs.github.com/en/rest/reference/issues#remove-all-labels-from-an-issue)
| `set_labels(repo, issue, labels)` | `Vector{Label}` | [set the labels for an `issue`](https://docs.github.com/en/rest/reference/issues#set-labels-for-an-issue)
| `remove_all_labels(repo, issue)` | `HTTP.Response` | [remove all labels from an `issue`](https://docs.github.com/en/rest/reference/issues#remove-all-labels-from-an-issue)
| `remove_label(repo, issue, label)` | `HTTP.Response` | [remove a label from an `issue`](https://docs.github.com/en/rest/reference/issues#remove-a-label-from-an-issue)

#### Social Activity
Expand Down
4 changes: 2 additions & 2 deletions src/GitHub.jl
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ include("licenses/license.jl")
# export -------

export # license.jl
License,
License,
licenses,
license,
repo_license
Expand Down Expand Up @@ -372,4 +372,4 @@ export
invitations,
Invite

end # module GitHub
end # module GitHub
2 changes: 1 addition & 1 deletion src/orgs/orgs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ end
@api_default function invitations(api::GitHubAPI, org::String, params=Dict{String,Any}(); options...)
results, page_data = gh_post_json(api, "/orgs/$(org)/invitations"; params=params, options...)
return map(Invite, results), page_data
end
end
2 changes: 1 addition & 1 deletion src/repositories/commits.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ end
@api_default function commits(api::GitHubAPI, repo, pr; options...)
results, page_data = gh_get_paged_json(api, "/repos/$(name(repo))/pulls/$(name(pr))/commits"; options...)
return map(Commit, results), page_data
end
end

0 comments on commit 927bb99

Please sign in to comment.