mirror of
https://github.com/zhaofengli/attic.git
synced 2025-03-05 08:17:05 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue