Remove empty initial object

pull/347/head
ptazithos 2 years ago
parent 3eae6665c7
commit 0009aad93f

@ -51,7 +51,7 @@ async function log(
return name.length > 0 && location !== "[native code]"; return name.length > 0 && location !== "[native code]";
}); });
const { file, line, keyValues = {} } = options ?? {}; const { file, line, keyValues } = options ?? {};
let location = filtered?.[0]?.filter((v) => v.length > 0).join("@"); let location = filtered?.[0]?.filter((v) => v.length > 0).join("@");
if (location === "Error") { if (location === "Error") {

Loading…
Cancel
Save