Skip to content
This repository was archived by the owner on Nov 20, 2023. It is now read-only.
This repository was archived by the owner on Nov 20, 2023. It is now read-only.

vscRemote is required after version v1.18.2  #326

@dobladov

Description

@dobladov

Environment

How do you use Sentry?
Sentry SaaS (sentry.io)

Which SDK and version?

  • @sentry/browser 6.13.3
  • @sentry/webpack-plugin 1.18.2

Steps to Reproduce

  1. Update to v1.18.2
  2. Create a new SentryPlugin without vscRemote
  3. A type error will be show Property 'vscRemote' is missing in type '{ release: string; include: string; }' but required in type 'SentryCliPluginOptions'

Expected Result

vscRemote should be optional as shown in the types

/**
 * Version control system remote name.
 * This value will update `SENTRY_VCS_REMOTE` env variable.
 */
vcsRemote?: string;

Actual Result

vscRemote is required

Note

The problem is caused by sentry-cli v1.70.0, and is corrected in version sentry-cli v1.70.1, to fix the problem it should be enough to update sentry-cli for sentry-webpack-plugin

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