Skip to content

Commit 8f43886

Browse files
committed
fmt
1 parent 81ab81e commit 8f43886

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

oma-refresh/src/db.rs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,10 +236,18 @@ impl<'a> OmaRefresh<'a> {
236236
}
237237

238238
#[cfg(not(feature = "apt"))]
239-
let list_file = self.source.join("etc/apt/sources.list").to_string_lossy().to_string();
239+
let list_file = self
240+
.source
241+
.join("etc/apt/sources.list")
242+
.to_string_lossy()
243+
.to_string();
240244

241245
#[cfg(not(feature = "apt"))]
242-
let list_dir = self.source.join("etc/apt/sources.list.d").to_string_lossy().to_string();
246+
let list_dir = self
247+
.source
248+
.join("etc/apt/sources.list.d")
249+
.to_string_lossy()
250+
.to_string();
243251

244252
scan_sources_lists_paths_from_sysroot(list_file, list_dir)
245253
.await

0 commit comments

Comments
 (0)