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

tests: fix unbound variable in download-devtools.sh #11809

Merged
merged 2 commits into from Dec 10, 2020

Conversation

paulirish
Copy link
Member

small bugfix from #11804. this repros reliably locally

image

using this pattern since we're using -u: http://www.bnikolic.co.uk/blog/bash-unbound-variable.html


also, i added -x to this script as i've wanted to better understand how the output matches against the commands. but @connorjclark if you'd rather remove that, go for it. i dun care a lot.

@paulirish paulirish requested a review from a team as a code owner December 10, 2020 20:18
@paulirish paulirish requested review from patrickhulce and removed request for a team December 10, 2020 20:18
@google-cla google-cla bot added the cla: yes label Dec 10, 2020
@google-cla
Copy link

google-cla bot commented Dec 10, 2020

☹️ Sorry, but only Googlers may change the label cla: yes.

@google-cla google-cla bot added the cla: yes label Dec 10, 2020
@paulirish paulirish requested review from connorjclark and removed request for patrickhulce December 10, 2020 20:19
@connorjclark connorjclark changed the title misc(web-test): fix unbound variable test: fix unbound variable in download-devtools.sh Dec 10, 2020
@connorjclark connorjclark changed the title test: fix unbound variable in download-devtools.sh tests: fix unbound variable in download-devtools.sh Dec 10, 2020
@devtools-bot devtools-bot merged commit 791d15d into master Dec 10, 2020
@devtools-bot devtools-bot deleted the paulirish-patch-3 branch December 10, 2020 20:36
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

4 participants