Skip to content

invalid definition in sourcemaps search #1975

@doc-sheet

Description

@doc-sheet

Environment

2.30.0 from docker

Steps to Reproduce

sentry-cli sourcemaps inject --ext=js.map /tmp

Expected Result

Same as --ext=map

Actual Result

Even after #605 fix TypesBuilder can't handle complex extensions like js.gz in sourcemaps inject/upload commands

Logs

  DEBUG   2024-03-11 12:30:35.784209567 +00:00 sentry-cli version: 2.30.0, platform: "linux", architecture: "x86_64"
  INFO    2024-03-11 12:30:35.784374170 +00:00 sentry-cli was invoked with the following command line: "/bin/sentry-cli" "--log-level=debug" "sourcemaps" "inject" "--ext=js.map" "/tmp"
> Searching /tmp
error: invalid definition (format is type:glob, e.g., html:*.html)

Metadata

Metadata

Labels

No labels
No labels
No fields configured for issues without a type.

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions