Просмотр исходного кода

Update LoggerSerializers.coffee

Henry Oswald 8 лет назад
Родитель
Сommit
3b3b404288
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      services/web/app/coffee/infrastructure/LoggerSerializers.coffee

+ 2 - 2
services/web/app/coffee/infrastructure/LoggerSerializers.coffee

@@ -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