Skip to content
This repository has been archived by the owner on Apr 9, 2022. It is now read-only.

Commit

Permalink
fix(@angular-devkit/core): fix an indentation issue with literals
Browse files Browse the repository at this point in the history
  • Loading branch information
hansl committed Sep 25, 2017
1 parent 19d3f71 commit ef0d69c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/angular_devkit/core/src/utils/literals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ export function indentBy(indentations: number): TemplateTag {
}

return (strings, ...values) => {
return stripIndent(strings, ...values)
.replace(/\n/g, '\n' + i);
return i + stripIndent(strings, ...values).replace(/\n/g, '\n' + i);
};
}

Expand Down

0 comments on commit ef0d69c

Please sign in to comment.