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

extra checks for printer.js existing. #1113

Merged
merged 1 commit into from
Dec 7, 2016
Merged

extra checks for printer.js existing. #1113

merged 1 commit into from
Dec 7, 2016

Conversation

paulirish
Copy link
Member

Cheap fix, but I think we don't need anything more substantial.

fixes #1101

@wardpeet
Copy link
Collaborator

wardpeet commented Dec 6, 2016

Well it fixes the issue you posted but if chrome-launcher is missing we have the same issue. Why not add all ts files to the list?

@paulirish
Copy link
Member Author

paulirish commented Dec 6, 2016

Well it fixes the issue you posted but if chrome-launcher is missing we have the same issue.

require('./compiled-check.js')('chrome-launcher.js');

the check is already in place for chrome-launcher.

Why not add all ts files to the list?

IMO its easier to maintain this list of bare minimum compiled files vs make sure all cli/*.ts-to-js files are in there always.

@wardpeet
Copy link
Collaborator

wardpeet commented Dec 6, 2016

chrome-launcher. is only checked when using manual-chrome-launcher.js not when ran by cli.js

I don't mind if only printer is checked ;)

Copy link
Member

@brendankenny brendankenny left a comment

Choose a reason for hiding this comment

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

LGTM 🖨 ☑️

@brendankenny brendankenny merged commit d86fc25 into master Dec 7, 2016
@brendankenny brendankenny deleted the printererr branch December 7, 2016 01:19
andrewrota pushed a commit to andrewrota/lighthouse that referenced this pull request Jan 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cannot find module printer
3 participants