Skip to content

Commit

Permalink
fix: Remove Auth Token check here (#9651)
Browse files Browse the repository at this point in the history
  • Loading branch information
HazAT authored Nov 24, 2023
1 parent eb2d726 commit 075cc6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/astro/src/integration/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ export const sentryAstro = (options: SentryOptions = {}): AstroIntegration => {
const uploadOptions = options.sourceMapsUploadOptions || {};

const shouldUploadSourcemaps = uploadOptions?.enabled ?? true;
const authToken = uploadOptions.authToken || env.SENTRY_AUTH_TOKEN;

if (shouldUploadSourcemaps && authToken) {
// We don't need to check for AUTH_TOKEN here, because the plugin will pick it up from the env
if (shouldUploadSourcemaps) {
updateConfig({
vite: {
build: {
Expand Down

0 comments on commit 075cc6e

Please sign in to comment.