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

core: add deprecation message for disable-device-emulation flag #8334

Merged
merged 3 commits into from
Apr 23, 2019

Conversation

wardpeet
Copy link
Collaborator

Summary
Adding small deprecation message for disableDeviceEmulation flag.

For more info chat with @patrickhulce 😄

Related Issues/PRs
#8289 (comment)

@patrickhulce
Copy link
Collaborator

It just occurred to me that we can do this after it's been removed too :)

I propose tweaking the text slightly and cherry-picking this back to v4.3.1 if we ever publish a patch release

lighthouse-cli/bin.js Outdated Show resolved Hide resolved
@wardpeet
Copy link
Collaborator Author

Feel free to keep this PR around until a patch is going to be made or just close if seems unecessary.

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.

I'm good with this, though the warning is pretty lightweight and disappears fast in the log. Is anyone going to see it?

lighthouse-cli/bin.js Outdated Show resolved Hide resolved
lighthouse-cli/bin.js Show resolved Hide resolved
@wardpeet
Copy link
Collaborator Author

wardpeet commented Apr 22, 2019

@brendankenny we could go for something more in your face https://www.npmjs.com/package/boxen. we could also pause and put some new lines below

@brendankenny
Copy link
Member

@brendankenny we could go for something more in your face https://www.npmjs.com/package/boxen. we could also pause and put some new lines below

sounds terrible, let's not do that :D

@brendankenny
Copy link
Member

@patrickhulce does this work for you?

Copy link
Collaborator

@patrickhulce patrickhulce left a comment

Choose a reason for hiding this comment

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

LGTM!

@patrickhulce patrickhulce merged commit 066debe into master Apr 23, 2019
@patrickhulce patrickhulce deleted the fix/add-deprecation branch April 23, 2019 21:56
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.

3 participants