remove dead code
This commit is contained in:
parent
695996d6e2
commit
5f362cbdbd
1 changed files with 0 additions and 4 deletions
|
@ -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]) => {
|
||||
|
|
Reference in a new issue