Commit cd151880
cd151880b2b6Merged
Dmitriy Zhilyaev <[email protected]> ยท 2 years ago ยท 1 file ยท ~1 modified
Description
fix: panic toCtx
Signed-off-by: Dmitriy Zhilyaev [email protected]
Details
- Commit
- cd151880b2b6
- Parent
- 4a13fb49b0ee
pkg/clictx/clictx.gomodifiedView file
@@ -9,9 +9,12 @@
99
1010
type (1111
flagName string12+
cliKey struct{}1213
)1314
14-
var cliFlag cli.Flag15+
var cliFlag = cliKey{}16+
17+
// var cliFlag cli.Flag1518
1619
//nolint:fatcontext1720
func CLIContextToContext(c *cli.Context) context.Context {