()
| 237 | } |
| 238 | |
| 239 | fn cli_project_root() -> Option<PathBuf> { |
| 240 | std::env::current_dir() |
| 241 | .ok() |
| 242 | .and_then(|cwd| crate::config::discover_project_root(&cwd)) |
| 243 | } |
| 244 | |
| 245 | async fn open_global_db() -> crate::errors::Result<GlobalDb> { |
| 246 | GlobalDb::open().await.ok_or_else(|| { |
no test coverage detected