mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-21 14:51:03 +00:00
fix: renew package rev only when it's empty (#3200)
This commit is contained in:
parent
f3e029ec25
commit
9f39363dd4
1 changed files with 4 additions and 1 deletions
|
|
@ -19,7 +19,10 @@ impl Dependency {
|
|||
}
|
||||
|
||||
self.deploy().await?;
|
||||
self.rev = Git::revision(&path).await?;
|
||||
if self.rev.is_empty() {
|
||||
self.rev = Git::revision(&path).await?;
|
||||
}
|
||||
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue