summaryrefslogtreecommitdiff
path: root/lib/helpers/file_helpers.ml
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2025-01-25 19:23:22 +0100
committerMarius Peter <marius.peter@tutanota.com>2025-01-25 19:23:22 +0100
commitf94e6b9216c41a7bfd78a73c67b2f805ff75242d (patch)
tree4c5ef4a1ae349e59457bfae9569825675edf375e /lib/helpers/file_helpers.ml
parent2ad89e7db3bb6d29c26037b658c1873027fb175a (diff)
Update helper modules.
Diffstat (limited to 'lib/helpers/file_helpers.ml')
-rw-r--r--lib/helpers/file_helpers.ml3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/helpers/file_helpers.ml b/lib/helpers/file_helpers.ml
index 892d807..a1b5372 100644
--- a/lib/helpers/file_helpers.ml
+++ b/lib/helpers/file_helpers.ml
@@ -3,5 +3,4 @@ let list_files dir =
Array.to_list (Sys.readdir dir)
|> List.map (fun file -> Printf.sprintf "<li>%s</li>" file)
|> String.concat ""
- with _ ->
- "<li>Error: Unable to read directory</li>"
+ with _ -> "<li>Error: Unable to read directory</li>"
Copyright 2019--2025 Marius PETER