Skip to content

Commit 7e644ae

Browse files
author
Bastien Guerry
committed
src/codegouvfr-output-data.clj: Check forks_count value type
1 parent a377266 commit 7e644ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codegouvfr-output-data.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@
207207
:a? (or archived false)
208208
:c? (false? (empty? (:contributing files)))
209209
:d (if full? description short_desc)
210-
:f forks_count
210+
:f (if (int? forks_count) forks_count 0)
211211
:fn full_name
212212
:f? (or fork false)
213213
:l language

0 commit comments

Comments
 (0)