Skip to content

Commit

Permalink
Fix AdbCommandLineStatus.ToString()
Browse files Browse the repository at this point in the history
  • Loading branch information
wherewhere committed Jan 29, 2024
1 parent d98dd6b commit f4ca666
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions AdvancedSharpAdbClient/Models/AdbCommandLineStatus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,7 @@ public readonly IEnumerator<string> GetEnumerator()
}

/// <inheritdoc/>
public override string ToString() =>
StringExtensions.Join(Environment.NewLine, (IEnumerable<string?>)[.. this]);
public override string ToString() => string.Join(Environment.NewLine, [.. this]);

#if NET7_0_OR_GREATER
[GeneratedRegex(VersionPattern)]
Expand Down

0 comments on commit f4ca666

Please sign in to comment.