Remove unused directory lookup

This commit is contained in:
2023-02-25 01:23:10 -07:00
parent 095f317865
commit 91f0f60107
-3
View File
@@ -75,9 +75,6 @@ func (c *Config[T]) Get() (bool, error) {
}
func (c *Config[T]) Write() error {
configDir := getConfigDir(c.Name)
configFilepath := filepath.Join(configDir)
data, err := toml.Marshal(c.Config)
if err != nil {
return fmt.Errorf("Could not marshal config: %w", err)