feat: with ignore sub source as well
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
0ad738700a
commit
90692d026d
@ -1,6 +1,4 @@
|
||||
use std::{
|
||||
path::{Path, PathBuf},
|
||||
};
|
||||
use std::path::{Path, PathBuf};
|
||||
|
||||
use eyre::Context;
|
||||
|
||||
@ -118,7 +116,10 @@ impl RustSource {
|
||||
.map(|c| format!("**/*{}*", c.replace('-', "_")))
|
||||
.collect::<Vec<_>>();
|
||||
|
||||
let exclude = exclude.iter().map(|c| c.as_str()).collect();
|
||||
let original_crates = crates.clone();
|
||||
original_crates.extend(exclude);
|
||||
|
||||
let exclude = original_crates.iter().map(|c| c.as_str()).collect();
|
||||
|
||||
let incremental_dir = self.client.directory().with_directory_opts(
|
||||
".",
|
||||
|
Loading…
Reference in New Issue
Block a user