Skip to content

Commit 178f976

Browse files
Fix formatting
Co-authored-by: Chris Yarbrough <17833862+chrisyarbrough@users.noreply.github.com>
1 parent f480e25 commit 178f976

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/ucll/Shared/UnityHub.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ public string GetProjectArgs(string projectPath)
8686
var root = JsonNode.Parse(json);
8787
var project = root?[projectPath]?.AsObject()!;
8888

89-
// If you remove args from project in Unity Hub, this field still will exist but now with empty value,
90-
// so we can't guarantee that it has value and we need to check
89+
// The cliArgs field persists even when arguments are removed from a project in Unity Hub,
90+
// but will contain an empty value. Validation is required before use.
9191
string? cliArgs = project["cliArgs"]?.GetValue<string>();
9292

9393
if (!string.IsNullOrEmpty(cliArgs))

0 commit comments

Comments
 (0)