mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-20 11:57:50 +02:00
Fix typo-ed variable name
This commit is contained in:
parent
c08c9d68ff
commit
b05fb0f818
@ -175,12 +175,12 @@ func install(secretKey string, offline bool) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func handleUpgradedFeatures() error {
|
func handleUpgradedFeatures() error {
|
||||||
configConents, err := hctx.GetConfigContents()
|
configContents, err := hctx.GetConfigContents()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
// No config, so this is a new install and thus there is nothing to do
|
// No config, so this is a new install and thus there is nothing to do
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
if strings.Contains(string(configConents), "enable_control_r_search") {
|
if strings.Contains(string(configContents), "enable_control_r_search") {
|
||||||
// control-r search is already configured, so there is nothing to do
|
// control-r search is already configured, so there is nothing to do
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user