Skip to content

Commit 00c5afb

Browse files
committed
fix right trim
1 parent 450b404 commit 00c5afb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

workers/grouper/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ export default class GrouperWorker extends Worker {
252252
frame.sourceCode = frame.sourceCode.map((line: SourceCodeLine) => {
253253
return {
254254
line: line.line,
255-
content: rightTrim(line.content, MAX_CODE_LINE_LENGTH),
255+
content: line.content !== undefined ? rightTrim(line.content, MAX_CODE_LINE_LENGTH) : line.content,
256256
};
257257
});
258258
});

0 commit comments

Comments
 (0)