chore: lint
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user