mirror of
https://github.com/pesde-pkg/pesde.git
synced 2024-12-12 11:00:36 +00:00
style: apply rustfmt
This commit is contained in:
parent
32d5f8c517
commit
e53de00120
1 changed files with 2 additions and 1 deletions
|
@ -85,7 +85,8 @@ async fn run() -> std::io::Result<()> {
|
|||
let port: u16 = benv!(parse "PORT" => "8080");
|
||||
|
||||
let cwd = current_dir().unwrap();
|
||||
let data_dir = PathBuf::from(benv!("DATA_DIR" => "{CWD}/data").replace("{CWD}", cwd.to_str().unwrap()));
|
||||
let data_dir =
|
||||
PathBuf::from(benv!("DATA_DIR" => "{CWD}/data").replace("{CWD}", cwd.to_str().unwrap()));
|
||||
fs_err::create_dir_all(&data_dir).unwrap();
|
||||
|
||||
let project = Project::new(
|
||||
|
|
Loading…
Reference in a new issue