Skip to content

Commit 9490c0e

Browse files
authored
Fix build script (#16)
1 parent 7efab52 commit 9490c0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const getHtml = async url => {
2323

2424
const response = await fetch(url);
2525

26-
if (response.ok) {
26+
if (!response.ok) {
2727
throw new Error('Request failed.');
2828
}
2929

0 commit comments

Comments
 (0)