mirror of
https://github.com/kovetskiy/mark.git
synced 2026-05-02 13:22:40 +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:
|
default:
|
||||||
return fmt.Errorf("unknown log level: %s", logLevel)
|
return fmt.Errorf("unknown log level: %s", logLevel)
|
||||||
}
|
}
|
||||||
log.GetLevel()
|
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user