mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-03 03:01:31 +00:00
[FEAT] Improve repo debugger display for Repository response
Show the repo's owner login in the debugger display string for `Repository` instead of the type name.
This commit is contained in:
@@ -159,7 +159,7 @@ namespace Octokit
|
||||
public RepositoryVisibility? Visibility { get; private set; }
|
||||
|
||||
public bool? AllowAutoMerge { get; private set; }
|
||||
|
||||
|
||||
public bool? AllowUpdateBranch { get; private set; }
|
||||
|
||||
internal string DebuggerDisplay
|
||||
@@ -167,7 +167,7 @@ namespace Octokit
|
||||
get
|
||||
{
|
||||
return string.Format(CultureInfo.InvariantCulture,
|
||||
"Repository: Id: {0} Owner: {1}, Name: {2}", Id, Owner, Name);
|
||||
"Repository: Id: {0} Owner: {1}, Name: {2}", Id, Owner?.Login, Name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user