Skip to content

[sourcemaps] Exclude CSS maps if excluding CSS files #990

@lobsterkatie

Description

@lobsterkatie

Environment

sentry-cli version 1.66.0

Steps to Reproduce

Upload sourcemaps with the default extensions set, in a directory with mapped CSS files.

Expected Result

blah.css.map does not get uploaded because blah.css doesn't get uploaded.

Actual Result

blah.css.map does in fact get uploaded.

Notes

  • My show and tell app will work to reproduce this if you need an example to play with.
  • I believe this is because this line just uncritically accepts anything with the extension .map, regardless of what comes before that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions