File tree Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
(library
2
2
(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
5
5
yojson)
6
6
(preprocess
7
7
(pps lwt_ppx)))
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ let config_of_content_api_response response =
75
75
| "base64" ->
76
76
Lwt. return
77
77
@@ Notabot_j. config_of_string
78
- @@ Base64. decode_exn
78
+ @@ Base64. decode_string
79
79
@@ String. concat
80
80
@@ String. split ~on: '\n'
81
81
@@ response.content
Original file line number Diff line number Diff line change @@ -32,7 +32,8 @@ let mrkdwn_of_markdown_opt = Option.map ~f:mrkdwn_of_markdown
32
32
33
33
let show_labels = function
34
34
| [] -> 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))
36
37
37
38
let generate_pull_request_notification notification =
38
39
let { action; number; sender; pull_request; repository } = notification in
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ depends: [
25
25
"stdio"
26
26
"uri"
27
27
"ocamlformat" {dev & = "0.13.0"}
28
- "base64"
29
28
"omd" {< "2.0.0"}
30
29
"yojson"
31
30
]
Original file line number Diff line number Diff line change 1
1
(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
3
3
stdio uri)
4
4
(preprocess
5
5
(pps lwt_ppx))
Original file line number Diff line number Diff line change 1
1
(executable
2
2
(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
4
4
yojson)
5
5
(preprocess
6
6
(pps lwt_ppx)))
You can’t perform that action at this time.
0 commit comments