Skip to content

Trim temp directory from path when reporting errors in source codeΒ #686

@thomashoneyman

Description

@thomashoneyman

When a failure happens in the publish pipeline due to a problem with a package's source code, we report the bad files using their full filepath as we have it at the time of the error. For example:

We should trim the temporary directory because it's just noise. The directory will be gone by the time we have a chance to go look at the server filesystem anyways (or, in the case of GitHub Actions, it'll most certainly be gone by the time the workflow completes). This error would then report purescript-punycode/src/Main.purs as the path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions