Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -99880,6 +99880,8 @@ const telemetry_1 = __nccwpck_require__(12417);
Sentry.setTag('sourcemaps', sourcemapPaths.length > 0);
Sentry.setTag('inject', inject);
if (sourcemapPaths.length) {
const ext = options.getSourcemapExtensions();
Sentry.setTag('sourcemaps-ext', ext.length ? ext.join(',') : 'default');
if (inject) {
yield (0, telemetry_1.traceStep)('inject-debug-ids', () => __awaiter(void 0, void 0, void 0, function* () {
core.debug(`Injecting Debug IDs`);
Expand All @@ -99891,7 +99893,7 @@ const telemetry_1 = __nccwpck_require__(12417);
core.debug(`Adding sourcemaps`);
const sourceMapsOptions = {
include: sourcemaps,
ext: options.getSourcemapExtensions(),
ext,
dist,
stripPrefix,
stripCommonPrefix,
Expand Down
5 changes: 4 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ withTelemetry(
Sentry.setTag('inject', inject);

if (sourcemapPaths.length) {
const ext = options.getSourcemapExtensions();
Sentry.setTag('sourcemaps-ext', ext.length ? ext.join(',') : 'default');

if (inject) {
await traceStep('inject-debug-ids', async () => {
core.debug(`Injecting Debug IDs`);
Expand All @@ -92,7 +95,7 @@ withTelemetry(
core.debug(`Adding sourcemaps`);
const sourceMapsOptions: SentryCliUploadSourceMapsOptions = {
include: sourcemaps,
ext: options.getSourcemapExtensions(),
ext,
dist,
stripPrefix,
stripCommonPrefix,
Expand Down
Loading