Commit 4a9a58d 1 parent aecb4f0 commit 4a9a58d Copy full SHA for 4a9a58d
File tree 1 file changed +3
-5
lines changed
crates/pixi_trampoline/src
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,9 @@ fn read_metadata(current_exe: &Path) -> miette::Result<Metadata> {
25
25
// the metadata file is next to the current executable parent folder,
26
26
// under trampoline_configuration/current_exe_name.json
27
27
if let Some ( exe_parent) = current_exe. parent ( ) {
28
- let metadata_path = exe_parent. join ( TRAMPOLINE_CONFIGURATION ) . join ( format ! (
29
- "{}{}" ,
30
- executable_from_path( current_exe) ,
31
- ".json"
32
- ) ) ;
28
+ let metadata_path = exe_parent
29
+ . join ( TRAMPOLINE_CONFIGURATION )
30
+ . join ( format ! ( "{}.json" , executable_from_path( current_exe) , ) ) ;
33
31
let metadata_file = File :: open ( & metadata_path)
34
32
. into_diagnostic ( )
35
33
. wrap_err ( format ! ( "Couldn't open {:?}" , metadata_path) ) ?;
You can’t perform that action at this time.
0 commit comments