Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
OCamlPro
osh
Commits
8be02a11
Unverified
Commit
8be02a11
authored
Oct 08, 2021
by
zapashcanon
Browse files
replace instead of adding in the hashtbl
parent
4bce8549
Pipeline
#15911
passed with stages
in 9 minutes and 44 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/osh.ml
src/osh.ml
+1
-1
No files found.
src/osh.ml
View file @
8be02a11
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment