We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b92109d commit 43dff46Copy full SHA for 43dff46
lib/state.ml
@@ -15,7 +15,7 @@ let refresh_pipeline_status (state : State_t.state) ~pipeline ~(branches : Githu
15
let log = Log.from "state"
16
17
let save state path =
18
- let data = State_j.string_of_state state in
+ let data = State_j.string_of_state state |> Yojson.Basic.from_string |> Yojson.Basic.pretty_to_string in
19
match write_to_local_file ~data path with
20
| Ok () -> Lwt.return @@ Ok ()
21
| Error e ->
0 commit comments