Fix build error on Rust 1.80.0 (#3128)

* Upgrade to time 0.3.36

* Fix clippy errors

* Fix warning about unexpected cfg

* Fix new clippy warning
This commit is contained in:
Jonathan Tran
2024-07-25 18:02:49 -04:00
committed by GitHub
parent 95781143eb
commit 0e5d88df0b
4 changed files with 52 additions and 7 deletions

View File

@ -218,7 +218,7 @@ async fn parse_project_route(configuration: Configuration, route: &str) -> Resul
#[tauri::command]
async fn read_dir_recursive(path: &str) -> Result<FileEntry, InvokeError> {
kcl_lib::settings::utils::walk_dir(&Path::new(path).to_path_buf())
kcl_lib::settings::utils::walk_dir(Path::new(path).to_path_buf())
.await
.map_err(InvokeError::from_anyhow)
}