diff options
Diffstat (limited to 'patchset.config.go')
| -rw-r--r-- | patchset.config.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patchset.config.go b/patchset.config.go index fd9b509..06a59da 100644 --- a/patchset.config.go +++ b/patchset.config.go @@ -16,7 +16,7 @@ import ( func (f *Forge) LoadPatchsets() error { f.Patchsets = NewPatchsets() - filename := filepath.Join(f.patchDir, "all-patches.pb") + filename := filepath.Join(f.Config.PatchDir, "all-patches.pb") data, err := os.ReadFile(filename) if err != nil { @@ -45,7 +45,7 @@ func (f *Forge) InitPatchsets() error { } func (f *Forge) SavePatchsets() error { - filename := filepath.Join(f.patchDir, "all-patches.pb") + filename := filepath.Join(f.Config.PatchDir, "all-patches.pb") regfile, err := os.OpenFile(filename, os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0666) if err != nil { log.Info("SavePatchsets() filename open error:", filename, err) |
