From a1fffe25c2825de5a6bf0ef938fbc3a452edd61b Mon Sep 17 00:00:00 2001 From: Vladimir Date: Thu, 26 Sep 2024 20:12:25 +0200 Subject: [PATCH] refactor --- clio/Program.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/clio/Program.cs b/clio/Program.cs index 9f07a600..3c6a426b 100644 --- a/clio/Program.cs +++ b/clio/Program.cs @@ -385,9 +385,8 @@ private static int Main(string[] args) { internal static int ExecuteCommands(string[] args) { var creatioEnv = new CreatioEnvironment(); string helpFolderName = $"help"; - string helpDirectoryPath = helpFolderName; var envPath = creatioEnv.GetAssemblyFolderPath(); - helpDirectoryPath = Path.Combine(envPath ?? string.Empty, helpFolderName); + string helpDirectoryPath = Path.Combine(envPath ?? string.Empty, helpFolderName); Parser.Default.Settings.ShowHeader = false; Parser.Default.Settings.HelpDirectory = helpDirectoryPath; Parser.Default.Settings.CustomHelpViewer = new WikiHelpViewer();