Skip to content

Commit c4480fa

Browse files
committed
fix(@angular-devkit/core): fix an indentation issue with literals
1 parent 10f2c56 commit c4480fa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/angular_devkit/core/src/utils/literals.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ export function indentBy(indentations: number): TemplateTag {
2323
}
2424

2525
return (strings, ...values) => {
26-
return stripIndent(strings, ...values)
27-
.replace(/\n/g, '\n' + i);
26+
return i + stripIndent(strings, ...values).replace(/\n/g, '\n' + i);
2827
};
2928
}
3029

0 commit comments

Comments
 (0)