Skip to content

Commit 46f97c0

Browse files
build: fix PR coverage comment formatting
PR-URL: #12346 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent c3773d9 commit 46f97c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/publish_coverage_pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
const fs = require( 'fs' );
8989
9090
const prNumber = parseInt( process.env.PR_NUMBER, 10 );
91-
const report = fs.readFileSync( 'pr-metadata/report', 'utf8' );
91+
const report = fs.readFileSync( 'pr-metadata/report', 'utf8' ).replace( /\\n/g, '\n' );
9292
9393
const { data: comments } = await github.rest.issues.listComments({
9494
'issue_number': prNumber,

0 commit comments

Comments
 (0)