mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-28 13:26:16 +03:00
fix: add instrumentation to new tauri cmd and rm unnecessary reference
This commit is contained in:
parent
e0c2bdfe14
commit
7dee307aa6
@ -88,9 +88,9 @@ pub mod commands {
|
||||
}
|
||||
|
||||
#[tauri::command(async)]
|
||||
// NOTE: Do I need this instrument macro?
|
||||
#[instrument]
|
||||
pub fn get_available_pull_request_templates(path: &path::Path) -> Result<Vec<Path>, Error> {
|
||||
let walked_paths = list_files(path, &[&path])?;
|
||||
let walked_paths = list_files(path, &[path])?;
|
||||
|
||||
let mut available_paths = Vec::new();
|
||||
for entry in walked_paths {
|
||||
|
Loading…
Reference in New Issue
Block a user