File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ pub(crate) async fn list_entrypoint() -> Result<()> {
22
22
for image in images {
23
23
println ! ( "{image}" ) ;
24
24
}
25
- println ! ( "" ) ;
25
+ println ! ( ) ;
26
26
27
27
println ! ( "# Logically bound images" ) ;
28
28
let mut listcmd = sysroot. imgstore . new_image_cmd ( ) ?;
Original file line number Diff line number Diff line change @@ -126,10 +126,9 @@ impl Storage {
126
126
}
127
127
128
128
fn init_globals ( ) -> Result < ( ) > {
129
- // Ensure our global storage alias dirs exist
130
- for d in [ STORAGE_ALIAS_DIR ] {
131
- std:: fs:: create_dir_all ( d) . with_context ( || format ! ( "Creating {d}" ) ) ?;
132
- }
129
+ // Ensure our global storage alias dir exists
130
+ std:: fs:: create_dir_all ( STORAGE_ALIAS_DIR )
131
+ . with_context ( || format ! ( "Creating {STORAGE_ALIAS_DIR}" ) ) ?;
133
132
Ok ( ( ) )
134
133
}
135
134
You can’t perform that action at this time.
0 commit comments