mirror of
https://github.com/msfjarvis/gitice
synced 2025-08-14 10:37:01 +05:30
src: fix formatting
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
c45bf34eb2
commit
1cfed92f85
1 changed files with 2 additions and 2 deletions
|
@ -113,8 +113,8 @@ fn freeze_repos(dir: &str) -> anyhow::Result<()> {
|
|||
}
|
||||
|
||||
fn thaw_repos(dir: &str, lockfile: &str) -> anyhow::Result<()> {
|
||||
let lockfile =
|
||||
fs::read_to_string(lockfile).unwrap_or_else(|_| panic!("unable to read lockfile from {}", lockfile));
|
||||
let lockfile = fs::read_to_string(lockfile)
|
||||
.unwrap_or_else(|_| panic!("unable to read lockfile from {}", lockfile));
|
||||
let repos: HashMap<String, PersistableRepo> = toml::from_str(&lockfile)?;
|
||||
|
||||
for (name, repo) in repos {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue