Skip to content

Commit

Permalink
remove ?? from packages
Browse files Browse the repository at this point in the history
  • Loading branch information
pgayvallet committed Nov 19, 2020
1 parent f2766e5 commit 0dd3b23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/kbn-legacy-logging/src/log_format.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export abstract class BaseLogFormat extends Stream.Transform {
const data: Record<string, any> = {
type: event.event,
'@timestamp': event.timestamp,
tags: [...(event.tags ?? [])],
tags: [...(event.tags || [])],
pid: event.pid,
};

Expand Down

0 comments on commit 0dd3b23

Please sign in to comment.