allow undefined GODOT_DEBUG_MSBUILD environment variable

This commit is contained in:
Kelly Thomas 2018-06-06 22:31:54 +08:00
parent 07d4cd7f6d
commit 17516822f9
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ namespace GodotSharpTools.Build
private static bool IsDebugMSBuildRequested() private static bool IsDebugMSBuildRequested()
{ {
return Environment.GetEnvironmentVariable("GODOT_DEBUG_MSBUILD").Trim() == "1"; return Environment.GetEnvironmentVariable("GODOT_DEBUG_MSBUILD")?.Trim() == "1";
} }
public void Dispose() public void Dispose()