Skip to content

Commit

Permalink
Fixed Initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
gerardog committed Nov 21, 2022
1 parent 74c4a46 commit 506efa0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/gsudo/Helpers/ShellHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ private static Shell InitializeInternal(out string invokingShellFullPath)

public static Version GetInvokingShellVersion()
{
if (!IsIntialized) Initialize();
FileVersionInfo versionInfo = FileVersionInfo.GetVersionInfo(_invokingShellFullPath);
var fileVersion = new Version(versionInfo.FileMajorPart, versionInfo.FileMinorPart, versionInfo.FileBuildPart);
return fileVersion;
Expand Down

0 comments on commit 506efa0

Please sign in to comment.