File tree Expand file tree Collapse file tree 2 files changed +4
-11
lines changed
stellar-registry-cli/src/commands
stellar-scaffold-cli/src/commands/build Expand file tree Collapse file tree 2 files changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -64,15 +64,9 @@ impl Cmd {
6464 ScMetaEntry :: ScMetaV0 ( ScMetaV0 { key, val } ) => {
6565 let key_str = key. to_string ( ) ;
6666 match key_str. as_str ( ) {
67- "name" => {
68- Some ( format ! ( "--wasm_name={val}" ) )
69- }
70- "binver" => {
71- Some ( format ! ( "--version={val}" ) )
72- }
73- _ => {
74- None
75- }
67+ "name" => Some ( format ! ( "--wasm_name={val}" ) ) ,
68+ "binver" => Some ( format ! ( "--version={val}" ) ) ,
69+ _ => None ,
7670 }
7771 }
7872 } ) ) ;
Original file line number Diff line number Diff line change @@ -121,8 +121,7 @@ impl Command {
121121 cmd. meta . push ( ( "name" . to_string ( ) , p. name . clone ( ) ) ) ;
122122 }
123123 if !p. version . to_string ( ) . is_empty ( ) {
124- cmd. meta
125- . push ( ( "binver" . to_string ( ) , p. version . to_string ( ) ) ) ;
124+ cmd. meta . push ( ( "binver" . to_string ( ) , p. version . to_string ( ) ) ) ;
126125 }
127126 if p. homepage . is_some ( ) {
128127 cmd. meta
You can’t perform that action at this time.
0 commit comments