Skip to content

Commit 1874e5b

Browse files
committed
fix incorrect check
1 parent 1996c03 commit 1874e5b

File tree

1 file changed

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

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -382,9 +382,9 @@ export function sentryUnpluginFactory({
382382
} else {
383383
// This option is only strongly typed for the webpack plugin, where it is used. It has no effect on other plugins
384384
const webpack_forceExitOnBuildComplete =
385-
(typeof options._experiments["forceExitOnBuildCompletion"] === "boolean" &&
386-
options._experiments["forceExitOnBuildCompletion"]) ??
387-
false;
385+
typeof options._experiments["forceExitOnBuildCompletion"] === "boolean"
386+
? options._experiments["forceExitOnBuildCompletion"]
387+
: undefined;
388388

389389
plugins.push(
390390
debugIdUploadPlugin(

0 commit comments

Comments
 (0)