From 46cd93734b12ed5edcc204c0d3127e986d7c11bb Mon Sep 17 00:00:00 2001 From: Sylvia Crowe Date: Sun, 27 Oct 2024 13:16:47 -0700 Subject: [PATCH] fix: duplicated code leftover from merge --- config.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/config.go b/config.go index 61c3cb7..3473194 100644 --- a/config.go +++ b/config.go @@ -338,13 +338,6 @@ func (u *UserSettings) ReloadConfigs() { u.doLoadConfigs() } -// ReloadConfigs clears the cached config data and freshly loads the config -// files again. -func (u *UserSettings) ReloadConfigs() { - u.loadConfigs = new(sync.Once) - u.doLoadConfigs() -} - func parseFile(filename string, ignoreMatchDirective bool) (*Config, error) { return parseWithDepth(filename, ignoreMatchDirective, 0) }