allow undefined GODOT_DEBUG_MSBUILD environment variable
This commit is contained in:
parent
07d4cd7f6d
commit
17516822f9
|
@ -234,7 +234,7 @@ namespace GodotSharpTools.Build
|
|||
|
||||
private static bool IsDebugMSBuildRequested()
|
||||
{
|
||||
return Environment.GetEnvironmentVariable("GODOT_DEBUG_MSBUILD").Trim() == "1";
|
||||
return Environment.GetEnvironmentVariable("GODOT_DEBUG_MSBUILD")?.Trim() == "1";
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
|
|
Loading…
Reference in New Issue