Skip to content

Commit 68e9d3b

Browse files
committed
use base64 module from extlib for CI compat
1 parent f3c0f35 commit 68e9d3b

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

lib/dune

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(library
22
(name lib)
3-
(libraries atdgen atdgen-runtime base base.caml base64 biniou cstruct curl
4-
curl.lwt devkit devkit.core hex lwt lwt.unix nocrypto omd re stdio uri
3+
(libraries atdgen atdgen-runtime base base.caml biniou cstruct curl curl.lwt
4+
devkit devkit.core extlib hex lwt lwt.unix nocrypto omd re stdio uri
55
yojson)
66
(preprocess
77
(pps lwt_ppx)))

lib/github.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ let config_of_content_api_response response =
7575
| "base64" ->
7676
Lwt.return
7777
@@ Notabot_j.config_of_string
78-
@@ Base64.decode_exn
78+
@@ Base64.decode_string
7979
@@ String.concat
8080
@@ String.split ~on:'\n'
8181
@@ response.content

lib/slack.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ let mrkdwn_of_markdown_opt = Option.map ~f:mrkdwn_of_markdown
3232

3333
let show_labels = function
3434
| [] -> None
35-
| (labels: label list) -> Some (sprintf "Labels: %s" @@ String.concat ~sep:", " (List.map ~f:(fun x -> x.name) labels))
35+
| (labels : label list) ->
36+
Some (sprintf "Labels: %s" @@ String.concat ~sep:", " (List.map ~f:(fun x -> x.name) labels))
3637

3738
let generate_pull_request_notification notification =
3839
let { action; number; sender; pull_request; repository } = notification in

notabot.opam

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ depends: [
2525
"stdio"
2626
"uri"
2727
"ocamlformat" {dev & = "0.13.0"}
28-
"base64"
2928
"omd" {< "2.0.0"}
3029
"yojson"
3130
]

src/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(executable
2-
(libraries lib base base.caml base64 cmdliner devkit devkit.core lwt.unix
2+
(libraries lib base base.caml cmdliner devkit devkit.core extlib lwt.unix
33
stdio uri)
44
(preprocess
55
(pps lwt_ppx))

test/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(executable
22
(name test)
3-
(libraries lib base base.caml base64 devkit devkit.core lwt.unix stdio
3+
(libraries lib base base.caml devkit devkit.core extlib lwt.unix stdio
44
yojson)
55
(preprocess
66
(pps lwt_ppx)))

0 commit comments

Comments
 (0)