Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions cmd/auth_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ Exit code is 0 when authenticated, 1 otherwise.`,
APIURL: utils.GetAPIBaseURL(),
})
os.Exit(1)
panic("unreachable") // staticcheck false positive: https://staticcheck.io/docs/checks#SA5011
}

// GetAccessToken only verifies validity server-side for browser/device-flow
Expand All @@ -54,7 +53,6 @@ Exit code is 0 when authenticated, 1 otherwise.`,
APIURL: utils.GetAPIBaseURL(),
})
os.Exit(1)
panic("unreachable") // staticcheck false positive: https://staticcheck.io/docs/checks#SA5011
}

output := authStatusOutput{
Expand Down Expand Up @@ -94,7 +92,6 @@ func printAuthStatus(output authStatusOutput) {
if err != nil {
utils.PrintlnError(err)
os.Exit(1)
panic("unreachable") // staticcheck false positive: https://staticcheck.io/docs/checks#SA5011
}
utils.Println(string(jsonBytes))
return
Expand Down
Loading