Update LoggerSerializers.coffee

This commit is contained in:
Henry Oswald 2018-03-27 14:45:47 +01:00 committed by GitHub
parent eeb76441c0
commit 3b3b404288

View file

@ -24,7 +24,7 @@ module.exports =
docs: (docs) -> docs: (docs) ->
if !docs?.map? if !docs?.map?
return return
docs?.map (doc) -> docs.map (doc) ->
{ {
path: doc.path path: doc.path
id: doc.doc id: doc.doc
@ -33,7 +33,7 @@ module.exports =
files: (files) -> files: (files) ->
if !files?.map? if !files?.map?
return return
files?.map (file) -> files.map (file) ->
{ {
path: file.path path: file.path
id: file.file id: file.file