Skip to content

Commit 967ad43

Browse files
authored
Merge pull request rescript-lang#382 from rescript-lang/fix_windows_issue
fix rescript-lang#381
2 parents 5e0970f + 189d512 commit 967ad43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntax/src/res_io.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
let readFile ~filename =
2-
let chan = open_in filename in
2+
let chan = open_in_bin filename in
33
let content =
44
try really_input_string chan (in_channel_length chan)
55
with End_of_file -> ""

0 commit comments

Comments
 (0)