From ddb49557d82fb45cacccff59ac4467b380643f5f Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Wed, 9 Oct 2019 15:42:57 -0700 Subject: [PATCH] Use the correct variable name :) --- command/pr.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/pr.go b/command/pr.go index 79d176e03..d1caadeae 100644 --- a/command/pr.go +++ b/command/pr.go @@ -37,7 +37,7 @@ var prListCmd = &cobra.Command{ func ExecutePr() error { prPayload, err := api.PullRequests() if err != nil { - return error + return err } fmt.Printf("Current Pr\n")