Remove status check from NPM driver

main
Elbert Alias 3 years ago
parent e62575aa8c
commit e2663efd2f

@ -778,15 +778,6 @@ class Site {
html = batches.join('\n')
}
// Validate response
if (
url.protocol !== 'file:' &&
this.analyzedUrls[url.href] &&
!this.analyzedUrls[url.href].status
) {
throw new Error('No response from server')
}
this.cache[url.href] = {
page,
html,