Skip to content

Commit 36be635

Browse files
authored
fix(nextjs): Don't show turbopack warning for newer Next.js canaries (#16065)
We don't want to log for `15.3.1-canary.3` Maybe ref #16060 ???
1 parent d34e67e commit 36be635

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/nextjs/src/config/withSentryConfig.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,8 @@ function getFinalConfigObject(
178178
patch !== undefined &&
179179
(major > 15 ||
180180
(major === 15 && minor > 3) ||
181-
(major === 15 && minor === 3 && patch >= 0 && prerelease === undefined));
181+
(major === 15 && minor === 3 && patch === 0 && prerelease === undefined) ||
182+
(major === 15 && minor === 3 && patch > 0));
182183
const isSupportedCanary =
183184
major !== undefined &&
184185
minor !== undefined &&

0 commit comments

Comments
 (0)