Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 39f334e

Browse files
committed
Fix octorun version check sigh
1 parent 8cd070a commit 39f334e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/GitHub.Api/Installer/OctorunInstaller.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ private bool IsOctorunExtracted()
7171
return false;
7272
}
7373

74-
var octorunVersion = installDetails.VersionFile.ReadAllText();
74+
var octorunVersion = installDetails.VersionFile.ReadAllText().Trim();
7575
if (!OctorunInstallDetails.PackageVersion.Equals(octorunVersion))
7676
{
7777
Logger.Warning("Current version {0} does not match expected {1}", octorunVersion, OctorunInstallDetails.PackageVersion);
@@ -112,4 +112,4 @@ public OctorunInstallDetails(NPath baseDataPath)
112112
public NPath VersionFile => InstallationPath.Combine("version");
113113
}
114114
}
115-
}
115+
}

0 commit comments

Comments
 (0)