Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 0ce630d

Browse files
committed
comment/message cleanup
1 parent ad6702f commit 0ce630d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/extract-elements.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function extractElements($) {
2626
];
2727
// `<section>` is for some reason missing from the reference tables.
2828
// `<command>`, `<element>`, `<isindex>`, `<listing>`, `<multicol>`, `<nextid>`
29-
// are obsolete and has been removed from the reference table, but we had
29+
// are obsolete and have been removed from the reference table, but we had
3030
// them in the past so we should wait for a major to remove
3131
const addElements = [
3232
'base',
@@ -79,8 +79,8 @@ request(refUrl, (error, response, html) => {
7979
const removed = prevEls.filter(n => elements.indexOf(n) === -1);
8080

8181
throw new Error(
82-
'Found extra elements: [' + added.join(',') +
83-
'] and did not find elements: [' + removed.join(',') + ']'
82+
'Found new elements not seen before: [' + added.join(',') +
83+
'] and did not find expected elements: [' + removed.join(',') + ']'
8484
);
8585
}
8686
catch(e) {

0 commit comments

Comments
 (0)