diff --git a/config.go b/config.go index accfc2e..a1dd44a 100644 --- a/config.go +++ b/config.go @@ -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)