forked from nrabulinski/attic
client/watch_store: Ignore sources when watching
They will still be pushed as part of other paths' closures.
This commit is contained in:
parent
2d0aeefd2f
commit
a71582a952
|
@ -127,6 +127,6 @@ pub async fn run(opts: Opts) -> Result<()> {
|
|||
fn strip_lock_file(p: &Path) -> Option<PathBuf> {
|
||||
p.to_str()
|
||||
.and_then(|p| p.strip_suffix(".lock"))
|
||||
.filter(|t| !t.ends_with(".drv"))
|
||||
.filter(|t| !t.ends_with(".drv") && !t.ends_with("-source"))
|
||||
.map(PathBuf::from)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue