Compare commits

...

1 Commits

Author SHA1 Message Date
restitux 91f0f60107 Remove unused directory lookup 2023-02-25 01:23:10 -07:00
-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)