summaryrefslogtreecommitdiff
path: root/modules/mono
diff options
context:
space:
mode:
authorIgnacio Etcheverry <neikeq@users.noreply.github.com>2018-06-06 18:47:09 +0200
committerGitHub <noreply@github.com>2018-06-06 18:47:09 +0200
commitaf15a1f10e9928d545065952b123b3eaa6f4b036 (patch)
tree0c4233be103e7fd61a9a8e5b570ab4760a19c808 /modules/mono
parent07d4cd7f6d833332b1bc3d2025d222778624ce17 (diff)
parent17516822f9424c6a94402339ee466f9d37264482 (diff)
Merge pull request #19396 from KellyThomas/env-var-check
allow undefined GODOT_DEBUG_MSBUILD environment variable
Diffstat (limited to 'modules/mono')
-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()