bento
bento copied to clipboard
path to .bento/archive.json is wrong if running bento from subdirectory
Overview
Bento tells me to see .bento/archive.json for the whitelist, but the whitelist does not exist at that path. In fact it exists at the root of the project.
Current Behavior
bash-3.2$ bento check --all .
Running Bento checks on all tracked files...
bandit․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․|■■■■■■■■■■| 00:01, 🍱 Done
flake8․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․|■■■■■■■■■■| 00:02, 🍱 Done
hadolint․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․|■■■■■■■■■■| 00:02, 🍱 Done
r2c.click․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․|■■■■■■■■■■| 00:01, 🍱 Done
r2c.flask․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․|■■■■■■■■■■| 00:01, 🍱 Done
r2c.requests․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․|■■■■■■■■■■| 00:01, 🍱 Done
shellcheck․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․|■■■■■■■■■■| 00:02, 🍱 Done
✔ 0 findings in this project in 2.89 s
◦ Not showing 1 archived finding(s). To view, run $ cat .bento/archive.json
bash-3.2$ cat .bento/archive.json
cat: .bento/archive.json: No such file or directory
Additional Context
Bento version (run bento --version): 0.9.1
Operation system (e.g. Ubuntu 18.04):
Any other context that would help us reproduce or understand the issue: