Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc(build): create error-y LHR for the deploy #9283

Merged
merged 11 commits into from
Jun 29, 2019
Prev Previous commit
Next Next commit
Update lighthouse-core/scripts/build-report-for-autodeployment.js
Co-Authored-By: Patrick Hulce <patrick.hulce@gmail.com>
  • Loading branch information
paulirish and patrickhulce committed Jun 26, 2019
commit f36c343c39043a5483e637da5e9be08ba172d172
2 changes: 1 addition & 1 deletion lighthouse-core/scripts/build-report-for-autodeployment.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ async function generateErrorLHR() {
getBrowserVersion: () => ({userAgent: 'Mozilla/5.0 ErrorUserAgent Chrome/66'}),
},
};
//@ts-ignore driver isn't mocked out completely
// @ts-ignore driver isn't mocked out completely
const artifacts = await GatherRunner.initializeBaseArtifacts(options);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One downside here is that ts-ignore is going to make this invisible to any breaking changes made to initializeBaseArtifacts, and since it's an internal method that could pretty easily happen

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about throwing a ts-ignore/cast on the driver object instead?


const TMP = `${DIST}/.tmp/`;
Expand Down