Skip to content

Commit

Permalink
Remove Unix dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
johnridesabike committed Dec 2, 2024
1 parent d643fc9 commit b4830c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion acutis_cli.ml
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ let () =
let data =
match !arg_data with
| "-" ->
if Unix.isatty Unix.stdin then
if In_channel.isatty stdin then
print_endline "Enter JSON data:";
Yojson.Basic.from_channel stdin
| fname ->
Expand Down
2 changes: 1 addition & 1 deletion dune
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
(public_name acutis)
(modules acutis_cli)
(package acutis)
(libraries unix acutis yojson dune-build-info))
(libraries acutis yojson dune-build-info))

(executable
(name acutis_js)
Expand Down

0 comments on commit b4830c5

Please sign in to comment.