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(scripts): fix unbound variable in open-devtools #11845

Merged
merged 2 commits into from
Dec 22, 2020
Merged

Conversation

paulirish
Copy link
Member

(low priority)

without the change on L17, the script errors our for me.

L25 is just making shellcheck happy

L47 i just wanted to reuse the same temporary chrome profile in these situations. @connorjclark @adamraine if the user-data-dir thang doesnt work for your workflows, no big deal. happy to add on my own. :)

@@ -43,4 +43,5 @@ cd "$DEVTOOLS_PATH"
gn gen out/Default
gclient sync
autoninja -C out/Default
"$CHROME_PATH" --custom-devtools-frontend=file://$DEVTOOLS_PATH/out/Default/resources/inspector

"$CHROME_PATH" --custom-devtools-frontend=file://"$DEVTOOLS_PATH"/out/Default/resources/inspector --user-data-dir=/tmp/chromeprofile-open-devtools
Copy link
Collaborator

Choose a reason for hiding this comment

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

can you remove that and just put $* here so you can call w/ whatever

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants