Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimir-nikonov committed Sep 26, 2024
1 parent b391ebd commit a1fffe2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions clio/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit a1fffe2

Please sign in to comment.