Unverified Commit 8be02a11 authored by zapashcanon's avatar zapashcanon
Browse files

replace instead of adding in the hashtbl

parent 4bce8549
Pipeline #15911 passed with stages
in 9 minutes and 44 seconds
......@@ -113,7 +113,7 @@ let badge_github_workflow_status =
| None -> Error "Invalid JSON answer"
| Some x ->
let status = x |> Util.member "conclusion" |> Util.to_string in
Hashtbl.add tbl url (status, Unix.time ());
Hashtbl.replace tbl url (status, Unix.time ());
Ok status )
in
match status with
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment