rubysec / bundler-audit

Patch-level verification for Bundler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unknown format: json

berney opened this issue · comments

Description

Cannot produce JSON results.

Steps To Reproduce

Steps to reproduce the bug:

bundle-audit check --format json

Expected Behavior

From the README.md:

Output the audit's results in JSON:

$ bundle-audit check --format json
Output the audit's results in JSON, to a file:

$ bundle-audit check --format json --output bundle-audit.json

Actual Behavior

Unknown format: json

Environment

$ bundler-audit --version
bundler-audit 0.9.0.1

$ bundle --version
Bundler version 2.3.4

$ ruby --version
ruby 2.7.4p191 (2021-07-07 revision a21a3b7d23) [x86_64-linux-musl]

Fixed with gem install json fixed it.