Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Escaped newlines in error message #2

Closed
@ethomson

Description

@ethomson

I provided an invalid version and architecture to the setup-python action:

    - name: 'Select Python version'
      uses: actions/setup-python@master
      with:
        version: $PYTHON_VERSION
        architecture: $PYTHON_ARCH

(I was attempting to make variable expansion happen.) The error message was surprising, with what appear to be escaped \r and \n:

##[error]Version $PYTHON_VERSION with arch $PYTHON_ARCH not found%0D%0AAvailable versions:%0D%0A%0D%0A

I would expect either actual newlines or some other type of whitespace, not %0D%0A.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions