From aeca91731c95da45c832633f6d4f7e2f6da03afb Mon Sep 17 00:00:00 2001 From: Interfiber Date: Mon, 13 Dec 2021 17:33:55 -0500 Subject: [PATCH] :rotating_light: Fix compiler warning --- pakr/src/utils.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/pakr/src/utils.rs b/pakr/src/utils.rs index e904ec1..b5570e5 100644 --- a/pakr/src/utils.rs +++ b/pakr/src/utils.rs @@ -4,6 +4,7 @@ use serde_json::json; pub fn get_component_json_from_info(info: &mut serde_json::Map) -> serde_json::Value { let script_folder_value = info.get("$scriptsFolder").unwrap_or(&serde_json::Value::Null); let mut result = String::from(""); + println!("Preventing compiler warning: value of result is {}", result); if script_folder_value == &serde_json::Value::Null { result = "null".to_string(); } else {