Assert Taskwarrior data location is custom

This commit is contained in:
2021-12-24 10:13:39 +01:00
parent 021d067d86
commit 1ba6394ec6
3 changed files with 49 additions and 27 deletions

View File

@@ -16,6 +16,7 @@ async fn main() -> std::io::Result<()> {
dotenv().ok();
let port = env::var("PORT").unwrap_or("8000".to_string());
taskwarrior::load_config(None);
let listener = TcpListener::bind(format!("0.0.0.0:{}", port)).expect("Failed to bind port");
run(listener)?.await