Skip to content

Commit 5322da7

Browse files
committed
fixup! fix(@angular/build): attach location to Sass errors and guard stack parsing
1 parent a7e96ba commit 5322da7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/angular/build/src/tools/esbuild/stylesheets/sass-language.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ function* extractFilesFromStack(stack: string): Iterable<string> {
303303
let path = '';
304304
let index = 0;
305305
while (index < segments.length && !segments[index].match(/\d+:\d+/)) {
306-
path += segments[index++];
306+
path += (path ? ' ' : '') + segments[index++];
307307
}
308308

309309
if (path && index < segments.length) {

0 commit comments

Comments
 (0)