chore: lint

This commit is contained in:
2025-11-26 21:13:10 +03:00
parent 1e2b717ce8
commit 0fed9a2681
6 changed files with 25 additions and 20 deletions

View File

@@ -24,7 +24,7 @@ type browserLauncherImpl struct {
// OpenAuto implements BrowserLauncher.
func (b *browserLauncherImpl) OpenAuto(url string) error {
if (b.useCustomCommand) {
if b.useCustomCommand {
return b.OpenCustom(url)
} else {
return b.OpenDefault(url)
@@ -67,9 +67,9 @@ func NewBrowserLauncher(config *config.Config, log *logger.Logger) BrowserLaunch
useCustomCommand := config.App.UseCustomBrowserCommand
customCommand := config.App.BrowserOpenCommand
return &browserLauncherImpl{
config: config,
log: log,
config: config,
log: log,
useCustomCommand: useCustomCommand,
customCommand: customCommand,
customCommand: customCommand,
}
}