Skip to content

Commit cc93442

Browse files
committed
code review;
1 parent db78639 commit cc93442

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/leave-comment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name: Compare Build Outputs
1+
name: Leave a comment
22

33
on:
44
workflow_run:
5-
workflows: ['Generate Docs']
5+
workflows: ['Generate and Compare Docs']
66
types: [completed]
77

88
permissions:

scripts/compare-builds/legacy-json.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ const results = await Promise.all(
2626
const filteredResults = results.filter(Boolean);
2727

2828
if (filteredResults.length) {
29-
console.log('## `legacy-html` generator');
29+
console.log('## `legacy-json` generator');
3030
filteredResults.forEach(o => console.log(o));
3131
}

scripts/compare-builds/utils.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { fileURLToPath } from 'url';
1+
import { fileURLToPath } from 'node:url';
22

33
export const BASE = fileURLToPath(import.meta.resolve('../../base'));
44
export const HEAD = fileURLToPath(import.meta.resolve('../../out'));

0 commit comments

Comments
 (0)