From 71c38df65a93ad3bc574d7e53a32fb38786de70c Mon Sep 17 00:00:00 2001 From: Nate Sales Date: Sun, 13 Oct 2024 18:51:20 -0400 Subject: [PATCH] fix: store protocols.json in cache --- pkg/process/process.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/process/process.go b/pkg/process/process.go index 3c00dbb2..2ca96b76 100644 --- a/pkg/process/process.go +++ b/pkg/process/process.go @@ -763,7 +763,7 @@ func Run(configFilename, lockFile, version string, noConfigure, dryRun, withdraw if err != nil { log.Fatalf("Marshalling protocol names: %v", err) } - file := path.Join(c.BIRDDirectory, "protocols.json") + file := path.Join(c.CacheDirectory, "protocols.json") log.Debugf("Writing protocol names to %s", file) //nolint:golint,gosec if err := os.WriteFile(file, j, 0644); err != nil {