Skip to content

Commit 4a5b030

Browse files
committed
ci: spell the final-check zero-width space in ASCII
The literal U+200B in the source was invisible and easy to lose in edits; build it with String.fromCharCode(0x200b) instead.
1 parent c129cbb commit 4a5b030

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/final-check.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ jobs:
169169
// The check job ran the PR's code, so its report is untrusted here:
170170
// drop every @ and break issue references and issue/PR links, so the
171171
// comment can neither mention anyone nor cross-reference anything.
172-
const zw = '​';
172+
const zw = String.fromCharCode(0x200b); // zero-width space
173173
const body = (process.env.BODY || '')
174174
.replace(/@/g, '')
175175
.replace(/(?<!&)#(?=\d+\b)/g, `#${zw}`)

0 commit comments

Comments
 (0)