Skip to content

Commit

Permalink
Fix an issue with the 'File Doc Tickets' pipeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
iclanton committed Mar 24, 2023
1 parent 6e3ccdd commit fbc67ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/file-doc-tickets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
const DELIMITER = '## Impacted documentation';
const event = JSON.parse(fs.readFileSync(EVENT_FILE, 'utf8'));
const strippedBody = event.pull_request.body.replace(/<!-+(.|\r|\n)+?-+>/g, '');
const strippedBody = (event.pull_request.body || '').replace(/<!-+(.|\r|\n)+?-+>/g, '');
const delimIndex = strippedBody.indexOf(DELIMITER);
if (delimIndex < 0) {
Expand Down

0 comments on commit fbc67ef

Please sign in to comment.