Skip to content

Commit d854bb0

Browse files
committed
fix lint
1 parent 6cd6cb0 commit d854bb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/actions/commit_status.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ func createCommitStatus(ctx context.Context, repo *repo_model.Repository, event,
114114
return fmt.Errorf("GetLatestCommitStatus: %w", err)
115115
}
116116

117-
description := ""
117+
var description string
118118
switch job.Status {
119119
// TODO: if we want support description in different languages, we need to support i18n placeholders in it
120120
case actions_model.StatusSuccess:

0 commit comments

Comments
 (0)