mirror of
https://github.com/Eugeny/tabby.git
synced 2025-02-23 14:59:41 +08:00
removed debug logging
This commit is contained in:
parent
a146505c5a
commit
e5234b0945
@ -81,7 +81,6 @@ builtinModules.forEach(m => {
|
||||
|
||||
const originalRequire = (global as any).require
|
||||
;(global as any).require = function (query: string) {
|
||||
console.log('grq', query)
|
||||
if (cachedBuiltinModules[query]) {
|
||||
return cachedBuiltinModules[query]
|
||||
}
|
||||
@ -90,7 +89,6 @@ const originalRequire = (global as any).require
|
||||
|
||||
const originalModuleRequire = nodeModule.prototype.require
|
||||
nodeModule.prototype.require = function (query: string) {
|
||||
console.log('mrq', query)
|
||||
if (cachedBuiltinModules[query]) {
|
||||
return cachedBuiltinModules[query]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user