Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.

Commit 0bb1609

Browse files
committed
chore(generators): minor spacing fix
1 parent 237033e commit 0bb1609

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/typescript-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ export function appendNgModuleDeclaration(filePath: string, fileContent: string,
243243
if (declarations.length === 0) {
244244
return appendEmpty(fileContent, declarations['end'], declaration);
245245
} else {
246-
return appendAfter(fileContent, declarations[declarations.length - 1], `, ${declaration}`);
246+
return appendAfter(fileContent, declarations[declarations.length - 1], `,\n ${declaration}`);
247247
}
248248
} else {
249249
const properties = (findObjectLiteralElementByName(obj.properties, 'declarations') as PropertyAssignment);

0 commit comments

Comments
 (0)