Skip to content

Commit

Permalink
variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
ndkazu committed Nov 29, 2024
1 parent 7bf9544 commit 18f87be
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ fn get_chain_spec_builder_path() -> &'static str {
}

#[docify::export_content]
fn cmd_list_presets(path_runtime: &str) -> String {
fn cmd_list_presets(runtime_path: &str) -> String {
bash!(
chain-spec-builder list-presets -r $path_runtime
chain-spec-builder list-presets -r $runtime_path
)
}

Expand All @@ -57,9 +57,9 @@ fn list_presets() {
}

#[docify::export_content]
fn cmd_get_preset(path_runtime: &str) -> String {
fn cmd_get_preset(runtime_path: &str) -> String {
bash!(
chain-spec-builder display-preset -r $path_runtime -p preset_2
chain-spec-builder display-preset -r $runtime_path -p preset_2
)
}

Expand Down Expand Up @@ -87,9 +87,9 @@ fn get_preset() {
}

#[docify::export_content]
fn cmd_generate_chain_spec(path_runtime: &str) -> String {
fn cmd_generate_chain_spec(runtime_path: &str) -> String {
bash!(
chain-spec-builder -c /dev/stdout create -r $path_runtime named-preset preset_2
chain-spec-builder -c /dev/stdout create -r $runtime_path named-preset preset_2
)
}

Expand Down Expand Up @@ -136,9 +136,9 @@ fn generate_chain_spec() {
}

#[docify::export_content]
fn cmd_generate_para_chain_spec(path_runtime: &str) -> String {
fn cmd_generate_para_chain_spec(runtime_path: &str) -> String {
bash!(
chain-spec-builder -c /dev/stdout create -c polkadot -p 1000 -r $path_runtime named-preset preset_2
chain-spec-builder -c /dev/stdout create -c polkadot -p 1000 -r $runtime_path named-preset preset_2
)
}

Expand Down

0 comments on commit 18f87be

Please sign in to comment.