ossf / package-analysis

Open Source Package Analysis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Move logic for saving data to buckets to shared function(s) in `worker` package

maxfisher-g opened this issue · comments

There's now a decent amount of duplicated logic in cmd/analyze/main.go and cmd/worker/main.go for saving analysis data to buckets. This should be refactored into a shared function in the worker package. As a bonus, some of the logic (e.g. indentation from #747) can probably be simplified.