mirror of
https://github.com/kovetskiy/mark.git
synced 2026-04-20 21:32:33 +00:00
fix: remove no-op log.GetLevel() call in SetLogLevel
The return value was unused and had no effect on logger state, misleading readers into thinking it was needed for initialization. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -116,7 +116,6 @@ func SetLogLevel(cmd *cli.Command) error {
|
||||
default:
|
||||
return fmt.Errorf("unknown log level: %s", logLevel)
|
||||
}
|
||||
log.GetLevel()
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user