style: Swap spaces to tabs in ignore-version implementation

This commit is contained in:
Martin Braun 2024-02-06 17:19:22 +01:00
parent bffcc2491f
commit a16fa7643a
2 changed files with 4 additions and 4 deletions

View file

@ -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]

View file

@ -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]