We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7efab52 commit 9490c0eCopy full SHA for 9490c0e
scripts/build.js
@@ -23,7 +23,7 @@ const getHtml = async url => {
23
24
const response = await fetch(url);
25
26
- if (response.ok) {
+ if (!response.ok) {
27
throw new Error('Request failed.');
28
}
29
0 commit comments