Skip to content

Commit

Permalink
allow undefined GODOT_DEBUG_MSBUILD environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
KellyThomas authored and malcolmhoward committed Jul 31, 2018
1 parent 5748fcd commit 28ba56b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/mono/editor/GodotSharpTools/Build/BuildSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ private void BuildProcess_Exited(object sender, System.EventArgs e)

private static bool IsDebugMSBuildRequested()
{
return Environment.GetEnvironmentVariable("GODOT_DEBUG_MSBUILD").Trim() == "1";
return Environment.GetEnvironmentVariable("GODOT_DEBUG_MSBUILD")?.Trim() == "1";
}

public void Dispose()
Expand Down

0 comments on commit 28ba56b

Please sign in to comment.