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

Commit 4049672

Browse files
Adding extra logging to check if the path still exists when we go to write to it
1 parent d6fcd33 commit 4049672

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/GitHub.Api/Installer/OctorunInstaller.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,14 @@ private NPath GrabZipFromResources()
5252
private NPath MoveOctorun(NPath fromPath)
5353
{
5454
var toPath = installDetails.InstallationPath;
55+
56+
Logger.Info("MoveOctorun fromPath: {0} toPath:{1}", fromPath.ToString(), toPath.ToString());
57+
5558
toPath.DeleteIfExists();
5659
toPath.EnsureParentDirectoryExists();
60+
61+
Logger.Info("toPath Exists: {0}", toPath.Exists());
62+
5763
fromPath.Move(toPath);
5864
fromPath.Parent.Delete();
5965
return installDetails.ExecutablePath;

0 commit comments

Comments
 (0)