Skip to content

Commit dac0a48

Browse files
committed
refactor: remove unused cfg parameter from postRunHook
- Remove unused `cfg` parameter from `postRunHook` function. Signed-off-by: codiing-hui <wecoding@yeah.net>
1 parent 58631a9 commit dac0a48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/cli/cli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ func runHelp(cmd *cobra.Command, _ []string) {
136136
_ = cmd.Help()
137137
}
138138

139-
func postRunHook(cfg *options.Config) error {
139+
func postRunHook(_ *options.Config) error {
140140
if err := flushProfiling(); err != nil {
141141
return err
142142
}

0 commit comments

Comments
 (0)