Skip to content

Commit

Permalink
Fix mustache_cli wrt string/bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
Armaël Guéneau committed Aug 24, 2018
1 parent e7f5fd2 commit 2cdba01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/mustache_cli.ml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ let load_file f =
let s = Bytes.create n in
really_input ic s 0 n;
close_in ic;
(s)
(Bytes.to_string s)

let run json_filename template_filename =
let j = load_file json_filename
Expand Down

0 comments on commit 2cdba01

Please sign in to comment.