Skip to content

Commit 0dd35a6

Browse files
Copilotmrjf
andauthored
Clarify mergeCss JSDoc: non-empty result always ends with semicolon
Agent-Logs-Url: https://github.com/githubnext/tsessebe/sessions/85c6025c-ac10-4bb6-acf3-6d3d1edc5968 Co-authored-by: mrjf <[email protected]>
1 parent c879b3a commit 0dd35a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/stats/style.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ function propsToString(props: CellProps | readonly [string, string][]): string {
353353
.join(" ");
354354
}
355355

356-
/** Merge two CSS strings (semicolon-separated). Always ends with a semicolon. */
356+
/** Merge two CSS strings (semicolon-separated). Non-empty result always ends with a semicolon. */
357357
function mergeCss(a: string, b: string): string {
358358
const trimA = a.trim().replace(/;$/, "");
359359
const trimB = b.trim().replace(/;$/, "");

0 commit comments

Comments
 (0)