summaryrefslogtreecommitdiff
path: root/modules/mono/editor/GodotSharpTools/Build
diff options
context:
space:
mode:
authorKelly Thomas <kelly.thomas@hotmail.com.au>2018-06-06 22:31:54 +0800
committerKelly Thomas <kelly.thomas@hotmail.com.au>2018-06-06 22:31:54 +0800
commit17516822f9424c6a94402339ee466f9d37264482 (patch)
tree0c4233be103e7fd61a9a8e5b570ab4760a19c808 /modules/mono/editor/GodotSharpTools/Build
parent07d4cd7f6d833332b1bc3d2025d222778624ce17 (diff)
allow undefined GODOT_DEBUG_MSBUILD environment variable
Diffstat (limited to 'modules/mono/editor/GodotSharpTools/Build')
-rw-r--r--modules/mono/editor/GodotSharpTools/Build/BuildSystem.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/editor/GodotSharpTools/Build/BuildSystem.cs b/modules/mono/editor/GodotSharpTools/Build/BuildSystem.cs
index a5dd37b5dc..16beacb45c 100644
--- a/modules/mono/editor/GodotSharpTools/Build/BuildSystem.cs
+++ b/modules/mono/editor/GodotSharpTools/Build/BuildSystem.cs
@@ -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()