fix(lib/init/preinit): revert 'chore: remove unnecessary returns and blocks'
This commit is contained in:
parent
96c99c428a
commit
f64d0d6c55
1 changed files with 1 additions and 4 deletions
|
|
@ -3,7 +3,4 @@ import { interceptProperty } from '@revenge-mod/utils/objects'
|
|||
|
||||
// By doing this, we are assuming __METRO_GLOBAL_PREFIX__ is an empty string
|
||||
// and globalThis.__d isn't already set (which should be the case anyways)
|
||||
const unintercept = interceptProperty('__d', (_, mDefine) => {
|
||||
unintercept()
|
||||
patchMetroDefine(mDefine)
|
||||
})
|
||||
const unintercept = interceptProperty('__d', (_, mDefine) => (unintercept(), patchMetroDefine(mDefine)))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue