Skip to content

Commit ddb4955

Browse files
committed
Use the correct variable name :)
1 parent 0f6daa0 commit ddb4955

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

command/pr.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ var prListCmd = &cobra.Command{
3737
func ExecutePr() error {
3838
prPayload, err := api.PullRequests()
3939
if err != nil {
40-
return error
40+
return err
4141
}
4242

4343
fmt.Printf("Current Pr\n")

0 commit comments

Comments
 (0)