From 820a7bda25c5541ce9580f99ec9f6eb512103e59 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly <sebastien@dailly.me> Date: Sat, 11 Jan 2025 06:40:30 +0100 Subject: Removed the json configuration management --- bin/importer.ml | 6 ------ 1 file changed, 6 deletions(-) (limited to 'bin/importer.ml') diff --git a/bin/importer.ml b/bin/importer.ml index 4ca04fd..c710aed 100644 --- a/bin/importer.ml +++ b/bin/importer.ml @@ -34,12 +34,6 @@ module Args = struct let load_conf : string -> ImportConf.Syntax.t = fun file -> match Filename.extension file with - | ".json" -> ( - let configuration_file = Yojson.Safe.from_file (exists file) in - try ImportConf.t_of_yojson configuration_file with - | e -> - print_endline @@ ImportErrors.repr_error e; - exit 1) | _ -> ( let (conf : (Db.Syntax.t, string) result) = let* configuration_file = -- cgit v1.2.3