diff options
| author | ยท๐๐ด๐๐๐ฉ๐ค | 2025-12-31 13:56:49 +0000 |
|---|---|---|
| committer | ยท๐๐ด๐๐๐ฉ๐ค | 2025-12-31 13:56:49 +0000 |
| commit | e8504548c82c5b9bb4ee5a797c6e73db5db41357 (patch) | |
| tree | 463821f833ca97d7641c1d6912bfcbfe933101d0 | |
| parent | 51c75ab1af61ab608c7891ad0e062fd69355ea8b (diff) | |
| download | nixtaml-e8504548c82c5b9bb4ee5a797c6e73db5db41357.tar nixtaml-e8504548c82c5b9bb4ee5a797c6e73db5db41357.tar.gz nixtaml-e8504548c82c5b9bb4ee5a797c6e73db5db41357.tar.bz2 nixtaml-e8504548c82c5b9bb4ee5a797c6e73db5db41357.tar.lz nixtaml-e8504548c82c5b9bb4ee5a797c6e73db5db41357.tar.xz nixtaml-e8504548c82c5b9bb4ee5a797c6e73db5db41357.tar.zst nixtaml-e8504548c82c5b9bb4ee5a797c6e73db5db41357.zip | |
setup: warn, ยฌ error on existing manifest
| -rw-r--r-- | lib/nixtamal.ml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/nixtamal.ml b/lib/nixtamal.ml index 5aa5580..9ceaa36 100644 --- a/lib/nixtamal.ml +++ b/lib/nixtamal.ml @@ -98,12 +98,12 @@ let set_up ~env ?nixpkgs: nixpkgs_opt () : (unit, error) result = Working_directory.set_up_root (); if Manifest.exists () then begin - Logs.err (fun m -> + Logs.warn (fun m -> m - "Found existing โ%sโ file, so project is already set up. Quitting." + "Found existing โ%sโ file, so project is already set up. Skipping." Manifest.filename ); - Error (`Manifest `File_already_exists) + Ok () end else (* TODO: returns a bool for success, so what to do? *) |
