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
ef09aea7
Unverified
Commit
ef09aea7
authored
Nov 25, 2021
by
zapashcanon
Browse files
better output
parent
de07f695
Pipeline
#16827
passed with stages
in 7 minutes and 50 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
src/osh.ml
src/osh.ml
+1
-2
No files found.
src/osh.ml
View file @
ef09aea7
...
...
@@ -153,8 +153,7 @@ let badge_https_domain =
Ok
code
else
match
Ezcurl
.
get
~
url
()
with
|
Error
(
_code
,
msg
)
->
Error
(
Format
.
sprintf
"Failed to query the API: curl error: %s"
msg
)
|
Error
(
_code
,
msg
)
->
Error
(
Format
.
sprintf
"%s"
msg
)
|
Ok
response
->
let
code
=
response
.
Ezcurl
.
code
in
Hashtbl
.
replace
tbl
url
(
code
,
Unix
.
time
()
);
...
...
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