Skip to content

Commit 2f7b0a8

Browse files
authored
Adds the CPANSA::DB version into the report metadata. (#72)
With `CPANSA::DB` having been split off of the core `CPAN::Audit` distribution, it is useful to have _both_ of their version numbers present in the report metadata.
1 parent efd2cd6 commit 2f7b0a8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/CPAN/Audit.pm

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,10 @@ sub command {
220220
meta => {
221221
command => $command,
222222
args => [ @args ],
223-
cpan_audit => { version => $VERSION },
223+
cpan_audit => {
224+
version => $VERSION,
225+
db => $CPANSA::DB::VERSION,
226+
},
224227
total_advisories => 0,
225228
},
226229
errors => [],

0 commit comments

Comments
 (0)