feat: support full nodejs event loop
Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
		@@ -158,9 +158,11 @@ export class MiaoScriptConsole implements Console {
 | 
			
		||||
                    var { fileName, lineNumber } = this.readSourceMap(trace.fileName, trace.lineNumber)
 | 
			
		||||
                    if (fileName.startsWith(root)) { fileName = fileName.split(root)[1] }
 | 
			
		||||
                } else {
 | 
			
		||||
                    for (let prefix in ignoreLogPrefix) {
 | 
			
		||||
                        if (className.startsWith(ignoreLogPrefix[prefix])) {
 | 
			
		||||
                            return
 | 
			
		||||
                    if (!global.debug) {
 | 
			
		||||
                        for (let prefix in ignoreLogPrefix) {
 | 
			
		||||
                            if (className.startsWith(ignoreLogPrefix[prefix])) {
 | 
			
		||||
                                return
 | 
			
		||||
                            }
 | 
			
		||||
                        }
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user