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

--select-chrome and --skip-autolaunch flags removed #2659

Merged
merged 8 commits into from
Jul 11, 2017
Merged

--select-chrome and --skip-autolaunch flags removed #2659

merged 8 commits into from
Jul 11, 2017

Conversation

arturmiz
Copy link
Contributor

@arturmiz arturmiz commented Jul 9, 2017

Fixes #2617

Copy link
Member

@paulirish paulirish left a comment

Choose a reason for hiding this comment

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

It looks like we haven't done resolveChromePath for Mac so far. Can you add that? I guess you'll have to add those paths to the darwin priorities array as well.

Aside from that everything else looks good!
Thanks. :)

Copy link
Member

@paulirish paulirish left a comment

Choose a reason for hiding this comment

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

lgtm! thanks ;)

@paulirish paulirish merged commit 41df647 into GoogleChrome:master Jul 11, 2017
];
// clang-format on

return sort(installations, priorities);
}

function resolveChromePath() {
if (canAccess(process.env.CHROME_PATH)) {
return process.env.CHROME_PATH as string;
Copy link
Member

Choose a reason for hiding this comment

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

is the as string necessary here if canAccess() doesn't complain in the line above?

Copy link
Member

Choose a reason for hiding this comment

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

gotta run, but ya that looks safe:

image

Copy link
Member

Choose a reason for hiding this comment

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

fixed in a6bbcab

@arturmiz arturmiz deleted the 2617-chrome-flags-improvements branch July 18, 2017 08:45
paulirish pushed a commit to GoogleChrome/chrome-launcher that referenced this pull request Aug 29, 2017
GoogleChrome/lighthouse#2659)

* --skip-autolaunch flag removed, --select-chrome flag removed
* Unused chrome-launcher/ask.ts removed
* Added support for CHROME_PATH env variable to replace LIGHTHOUSE_CHROMIUM_PATH
* CHROME_PATH env variable documented in CLI help
* Added support for CHROME_PATH on macOS
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