mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-17 22:39:42 +02:00
gRPC request actions and "copy as gRPCurl" (#232)
This commit is contained in:
@@ -47,9 +47,14 @@ pub async fn fill_pool_from_files(
|
||||
];
|
||||
|
||||
for p in paths {
|
||||
if p.as_path().exists() {
|
||||
if !p.exists() {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Dirs are added as includes
|
||||
if p.is_dir() {
|
||||
args.push("-I".to_string());
|
||||
args.push(p.to_string_lossy().to_string());
|
||||
} else {
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -62,6 +67,8 @@ pub async fn fill_pool_from_files(
|
||||
} else {
|
||||
debug!("ignoring {:?} since it does not exist.", parent)
|
||||
}
|
||||
|
||||
args.push(p.to_string_lossy().to_string());
|
||||
}
|
||||
|
||||
let out = app_handle
|
||||
|
||||
Reference in New Issue
Block a user