chore(plugins/no-track): do not implicitly return

This commit is contained in:
PalmDevs 2025-07-13 15:59:45 +07:00
parent d6be47d9a7
commit 8d00748a6a
No known key found for this signature in database
GPG key ID: 6FAE8F8677ACA8BA

View file

@ -76,7 +76,9 @@ registerPlugin(
if (__DEV__)
Object.defineProperty(globalThis, '__SENTRY__', {
set: () => warnSetSentry(getCurrentStack()),
set: () => {
warnSetSentry(getCurrentStack())
},
})
else
Object.defineProperty(globalThis, '__SENTRY__', {