Skip to content

Commit

Permalink
DOCS: Replace deprecated functions (#1317)
Browse files Browse the repository at this point in the history
  • Loading branch information
tlimoncelli committed Dec 30, 2021
1 parent e8d8173 commit 56bfa4b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/migrate-v1-to-v2.md
Expand Up @@ -181,6 +181,10 @@ Compiler messages you might see:
cannot use c (type *cli.Command) as type cli.Command in append
```
# Replace deprecated functions
`cli.NewExitError()` is deprecated. Use `cli.Exit()` instead. ([Staticcheck](https://staticcheck.io/) detects this automatically and recommends replacement code.)
# Everything else
Compile the code and work through any errors. Most should
Expand Down

0 comments on commit 56bfa4b

Please sign in to comment.