style: Swap spaces to tabs in ignore-version
implementation
This commit is contained in:
parent
bffcc2491f
commit
a16fa7643a
|
@ -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]
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue