From 215b02837039d19300969e964914ad335f05ca49 Mon Sep 17 00:00:00 2001 From: Abhishek Shah Date: Wed, 20 Mar 2024 16:07:57 +0530 Subject: [PATCH] review fixes --- src/engines/pallet_engine/mod.rs | 1 - src/engines/pallet_engine/template.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/src/engines/pallet_engine/mod.rs b/src/engines/pallet_engine/mod.rs index cb82f848..bdb6c9a4 100644 --- a/src/engines/pallet_engine/mod.rs +++ b/src/engines/pallet_engine/mod.rs @@ -89,7 +89,6 @@ impl TomlEditor { .unwrap(); // workspace let runtime_manifest = workspace_manifest.join("runtime/Cargo.toml"); let node_manifest = workspace_manifest.join("node/Cargo.toml"); - // println!("{} {}", runtime_manifest.display(), node_manifest.display()); Ok(Self { workspace: workspace_manifest.to_path_buf(), runtime: runtime_manifest, diff --git a/src/engines/pallet_engine/template.rs b/src/engines/pallet_engine/template.rs index ff9d3b46..4891697c 100644 --- a/src/engines/pallet_engine/template.rs +++ b/src/engines/pallet_engine/template.rs @@ -35,7 +35,6 @@ pub struct TemplatePalletConfig { fn generate_pallet_structure(target: &PathBuf, pallet_name: &str) -> anyhow::Result<()> { use fs::{create_dir, File}; let (pallet, src) = (target.join(pallet_name), target.join(pallet_name.to_string() + "/src")); - // println!("source = > {}", src.display()); create_dir(&pallet)?; create_dir(&src)?; File::create(format!("{}/Cargo.toml", pallet.display()))?;