Skip to content

Commit

Permalink
style: Swap spaces to tabs in ignore-version implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-braun committed Feb 6, 2024
1 parent bffcc24 commit a16fa76
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions interfacer/src/browsh/firefox_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ func getFirefoxPath() string {

func ensureFirefoxVersion(path string) {
if viper.GetBool("firefox.ignore-version") {
return
}
return
}
output := Shell(path + " --version")
pieces := strings.Split(output, " ")
version := pieces[len(pieces)-1]
Expand Down
4 changes: 2 additions & 2 deletions interfacer/src/browsh/firefox_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ func getFirefoxFlavor() string {

func ensureFirefoxVersion(path string) {
if viper.GetBool("firefox.ignore-version") {
return
}
return
}
versionString := getWindowsFirefoxVersionString()
pieces := strings.Split(versionString, " ")
version := pieces[0]
Expand Down

0 comments on commit a16fa76

Please sign in to comment.