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

Commit fd678d6

Browse files
Fixing NPath null check
1 parent 2ca473e commit fd678d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHub.Api/Platform/DefaultEnvironment.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public NPath NodeJsExecutablePath
138138
{
139139
get
140140
{
141-
if (nodeJsExecutablePath == null)
141+
if (!nodeJsExecutablePath.IsInitialized)
142142
{
143143
nodeJsExecutablePath = IsWindows
144144
? UnityApplication.Parent.Combine("Data", "Tools", "nodejs", "node.exe")

0 commit comments

Comments
 (0)