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

Commit

Permalink
chore(generators): minor spacing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
imhoffd committed Apr 24, 2017
1 parent 237033e commit 0bb1609
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/typescript-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0bb1609

Please sign in to comment.