feat:remove logs

This commit is contained in:
pengfeizhou 2021-02-25 14:29:02 +08:00 committed by osborn
parent b60fffd055
commit a924889d87

View File

@ -141,7 +141,6 @@ global.Entry = function () {
if (!!contextId) { if (!!contextId) {
return Reflect.apply(doric.jsObtainEntry(contextId), doric, arguments); return Reflect.apply(doric.jsObtainEntry(contextId), doric, arguments);
} else { } else {
console.log(new Error().stack)
const jsFile = new Error().stack?.split("\n") const jsFile = new Error().stack?.split("\n")
.map(e => e.match(/at\s__decorate.*?\s\((.*?)\)/)) .map(e => e.match(/at\s__decorate.*?\s\((.*?)\)/))
.find(e => !!e)?.[1].match(/(.*?\.js)/)?.[1]; .find(e => !!e)?.[1].match(/(.*?\.js)/)?.[1];