Skip to content

enhanced-logs copy-paste with extra newlines #2223

@RalfJung

Description

@RalfJung

To reproduce, go to https://triage.rust-lang.org/gha-logs/rust-lang/rust/54300016301, select a bunch of lines of the output, and paste them in a github issue (same result with Ctrl-V and Ctrl-Shift-V):

Current runner version: '2.329.0'

##[group]Runner Image Provisioner

Hosted Compute Agent

Version: 20251003.420

Commit: 2377dc5bf0f6cca5c863dfc4fa0dabc70e08de87

Build Date: 2025-10-03T16:01:39Z

The expected behavior would be not to have all these empty lines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions