MCPcopy
hub / github.com/theajack/disable-devtool / r

Function r

src/main.ts:21–21  ·  view source on GitHub ↗
(reason = '')

Source from the content-addressed store, hash-verified

19
20export const disableDevtool: IDisableDevtool = Object.assign(((opts?: Partial<IConfig>) => {
21 const r = (reason = '') => ({success: !reason, reason});
22 if (disableDevtool.isRunning) return r('already running');
23 initIS(); // ! 首先初始化env
24 initLogs(); // 然后初始化log

Callers 1

main.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected