From 0bb16090aa72cf5ffc8c246094449134f96b58fb Mon Sep 17 00:00:00 2001 From: Daniel Imhoff Date: Mon, 24 Apr 2017 14:02:22 -0500 Subject: [PATCH] chore(generators): minor spacing fix --- src/util/typescript-utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/typescript-utils.ts b/src/util/typescript-utils.ts index e626cf55..589f6e66 100644 --- a/src/util/typescript-utils.ts +++ b/src/util/typescript-utils.ts @@ -243,7 +243,7 @@ export function appendNgModuleDeclaration(filePath: string, fileContent: string, if (declarations.length === 0) { return appendEmpty(fileContent, declarations['end'], declaration); } else { - return appendAfter(fileContent, declarations[declarations.length - 1], `, ${declaration}`); + return appendAfter(fileContent, declarations[declarations.length - 1], `,\n ${declaration}`); } } else { const properties = (findObjectLiteralElementByName(obj.properties, 'declarations') as PropertyAssignment);