remove dead code

This commit is contained in:
Bruno Windels 2021-11-17 11:54:29 +01:00
parent 695996d6e2
commit 5f362cbdbd

View file

@ -28,10 +28,6 @@ export class ConsoleLogger extends BaseLogger {
const excludedKeysFromTable = ["l", "id"];
function filterValues(values: LogItemValues): LogItemValues | null {
if (!values) {
// todo: is this check here unnecessary because LogItem will always have values?
return null;
}
return Object.entries(values)
.filter(([key]) => !excludedKeysFromTable.includes(key))
.reduce((obj: LogItemValues, [key, value]) => {