Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

Fix app panic #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

mmartinson
Copy link

Fixes #4

Separate commit runs the formatter on request.go, which was weird unformatted.

Also adds a help doc when required CLI args are missing.

@@ -530,8 +530,21 @@ func main() {
ArgsUsage: "[method path]",
Flags: []cli.Flag{},
Action: func(ctx *cli.Context) error {
err := setGlobalVars(ctx)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is meant to be called in every action, according to existing comment.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

api action panics
1 participant