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

Commit eb1ce8d

Browse files
Merge pull request #747 from github-for-unity/fixes/ensure-logpath-exists
Ensure log path exists
2 parents f2eeb5c + 90898f5 commit eb1ce8d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/GitHub.Api/Platform/DefaultEnvironment.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ public DefaultEnvironment()
4646
{
4747
LogPath = UserCachePath.Combine(logFile);
4848
}
49+
LogPath.EnsureParentDirectoryExists();
4950
}
5051

5152
public DefaultEnvironment(ICacheContainer cacheContainer) : this()

0 commit comments

Comments
 (0)