Skip to content

Commit 41dc0ba

Browse files
typo: Turborepo not TurboRepo
Co-authored-by: Caio Lins <[email protected]>
1 parent cdb8c42 commit 41dc0ba

File tree

1 file changed

+9
-9
lines changed
  • packages/bundler-plugin-core/src

1 file changed

+9
-9
lines changed

packages/bundler-plugin-core/src/index.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -336,9 +336,9 @@ export function sentryUnpluginFactory({
336336
plugins.push(moduleMetadataInjectionPlugin(injectionCode));
337337
}
338338
// https://turbo.build/repo/docs/reference/system-environment-variables#environment-variables-in-tasks
339-
const isRunningInTurboRepo = Boolean(process.env["TURBO_HASH"]);
340-
const getTurboRepoEnvPassthroughWarning = (envVarName: string) =>
341-
isRunningInTurboRepo
339+
const isRunningInTurborepo = Boolean(process.env["TURBO_HASH"]);
340+
const getTurborepoEnvPassthroughWarning = (envVarName: string) =>
341+
isRunningInTurborepo
342342
? `\nYou seem to be using Turborepo, did you forget to put ${envVarName} in \`passThroughEnv\`? https://turbo.build/repo/docs/reference/configuration#passthroughenv`
343343
: "";
344344
if (!options.release.name) {
@@ -350,17 +350,17 @@ export function sentryUnpluginFactory({
350350
} else if (!options.authToken) {
351351
logger.warn(
352352
"No auth token provided. Will not create release. Please set the `authToken` option. You can find information on how to generate a Sentry auth token here: https://docs.sentry.io/api/auth/" +
353-
getTurboRepoEnvPassthroughWarning("SENTRY_AUTH_TOKEN")
353+
getTurborepoEnvPassthroughWarning("SENTRY_AUTH_TOKEN")
354354
);
355355
} else if (!options.org && !options.authToken.startsWith("sntrys_")) {
356356
logger.warn(
357357
"No organization slug provided. Will not create release. Please set the `org` option to your Sentry organization slug." +
358-
getTurboRepoEnvPassthroughWarning("SENTRY_ORG")
358+
getTurborepoEnvPassthroughWarning("SENTRY_ORG")
359359
);
360360
} else if (!options.project) {
361361
logger.warn(
362362
"No project provided. Will not create release. Please set the `project` option to your Sentry project slug." +
363-
getTurboRepoEnvPassthroughWarning("SENTRY_PROJECT")
363+
getTurborepoEnvPassthroughWarning("SENTRY_PROJECT")
364364
);
365365
} else {
366366
plugins.push(
@@ -405,17 +405,17 @@ export function sentryUnpluginFactory({
405405
} else if (!options.authToken) {
406406
logger.warn(
407407
"No auth token provided. Will not upload source maps. Please set the `authToken` option. You can find information on how to generate a Sentry auth token here: https://docs.sentry.io/api/auth/" +
408-
getTurboRepoEnvPassthroughWarning("SENTRY_AUTH_TOKEN")
408+
getTurborepoEnvPassthroughWarning("SENTRY_AUTH_TOKEN")
409409
);
410410
} else if (!options.org && !options.authToken.startsWith("sntrys_")) {
411411
logger.warn(
412412
"No org provided. Will not upload source maps. Please set the `org` option to your Sentry organization slug." +
413-
getTurboRepoEnvPassthroughWarning("SENTRY_ORG")
413+
getTurborepoEnvPassthroughWarning("SENTRY_ORG")
414414
);
415415
} else if (!options.project) {
416416
logger.warn(
417417
"No project provided. Will not upload source maps. Please set the `project` option to your Sentry project slug." +
418-
getTurboRepoEnvPassthroughWarning("SENTRY_PROJECT")
418+
getTurborepoEnvPassthroughWarning("SENTRY_PROJECT")
419419
);
420420
} else {
421421
// This option is only strongly typed for the webpack plugin, where it is used. It has no effect on other plugins

0 commit comments

Comments
 (0)