1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-21 14:57:09 +00:00

allow undefined GODOT_DEBUG_MSBUILD environment variable

(cherry picked from commit 17516822f9)
This commit is contained in:
Kelly Thomas
2018-06-06 22:31:54 +08:00
committed by Hein-Pieter van Braam
parent d4a226500b
commit e86ef017f2

View File

@@ -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()