Skip to content

Commit

Permalink
Merge pull request #2 from osilviotti/master
Browse files Browse the repository at this point in the history
Add fallback resolve for when </head> is missing
  • Loading branch information
luisivan authored Jun 14, 2022
2 parents 6fbe7b7 + dc8c333 commit b2e9b2c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ const fetchHead = async (url) => {
resolve(head)
}
}

resolve(head)
})

/*if (!global.fetch) {
Expand Down

0 comments on commit b2e9b2c

Please sign in to comment.