Merge pull request #19396 from KellyThomas/env-var-check
allow undefined GODOT_DEBUG_MSBUILD environment variable
This commit is contained in:
commit
af15a1f10e
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue