From 43a25cede2fceb739cda89d370e968c8614db46c Mon Sep 17 00:00:00 2001 From: anusikh Date: Sun, 14 Jul 2024 21:45:12 +0530 Subject: [PATCH] (node) fixing println error --- src/commands/node/install.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/node/install.rs b/src/commands/node/install.rs index 6ed6e42..5128084 100644 --- a/src/commands/node/install.rs +++ b/src/commands/node/install.rs @@ -7,7 +7,7 @@ use crate::utils::file_utils::{ fn install_util(version: String, link: String) { match check_node_exists(&version) { false => { - println!(link); + println!("{}", link); } true => { println!("node version exists already, if it doesn't run the clean command") @@ -19,7 +19,7 @@ fn install_util(version: String, link: String) { fn install_util(version: String, link: String) { match check_node_exists(&version) { false => { - println!(link); + println!("{}", link); } true => { println!("node version exists already, if it doesn't run the clean command")