ripcrypt/dev/hooks/oft.preRegisterTweak.mjs

7 lines
239 B
JavaScript

/*
This is to prevent my tweaks module from adding invasive tweaks during development
of the system. But allowing all of the non-invasive tweaks to be used.
*/
Hooks.on(`oft.preRegisterTweak`, (tweak, invasive) => {
return !invasive;
});