Skip to content

Commit 10ec517

Browse files
committed
style: align some things
1 parent f968962 commit 10ec517

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

cmd/commit-status-poster/main.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ func envAsInt64(envVar string) int64 {
2020
}
2121

2222
func newGithubClient() *github.Client {
23-
appId := envAsInt64("GITHUB_APP_ID")
23+
appId := envAsInt64("GITHUB_APP_ID")
2424
installationId := envAsInt64("GITHUB_APP_INSTALLATION_ID")
25-
privateKeyFile := os.Getenv("GITHUB_APP_PRIVATE_KEY_FILE")
25+
privateKeyFile := os.Getenv("GITHUB_APP_PRIVATE_KEY_FILE")
2626
itr, err := ghinstallation.NewKeyFromFile(http.DefaultTransport, appId, installationId, privateKeyFile)
2727
if err != nil {
2828
panic(err)
@@ -32,10 +32,10 @@ func newGithubClient() *github.Client {
3232

3333
func newStatus() *github.RepoStatus {
3434
return &github.RepoStatus{
35-
State: github.String(os.Getenv("GITHUB_COMMIT_STATUS_STATE")),
36-
TargetURL: github.String(os.Getenv("GITHUB_COMMIT_STATUS_TARGET_URL")),
35+
State: github.String(os.Getenv("GITHUB_COMMIT_STATUS_STATE")),
36+
TargetURL: github.String(os.Getenv("GITHUB_COMMIT_STATUS_TARGET_URL")),
3737
Description: github.String(os.Getenv("GITHUB_COMMIT_STATUS_DESCRIPTION")),
38-
Context: github.String(os.Getenv("GITHUB_COMMIT_STATUS_CONTEXT")),
38+
Context: github.String(os.Getenv("GITHUB_COMMIT_STATUS_CONTEXT")),
3939
}
4040
}
4141

0 commit comments

Comments
 (0)