Skip to content

Commit

Permalink
fix: store protocols.json in cache
Browse files Browse the repository at this point in the history
  • Loading branch information
natesales committed Oct 13, 2024
1 parent 6fa0726 commit 71c38df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/process/process.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 71c38df

Please sign in to comment.