Skip to content

Conversation

@majapw
Copy link
Contributor

@majapw majapw commented Oct 23, 2020

Additionally, cast the PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD check to a number to allow for values of 0 or 1

Fix for #4225

@ghost
Copy link

ghost commented Oct 23, 2020

CLA assistant check
All CLA requirements met.

…d of falsey) before redefining it

Additionally, cast the `PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD` check to a number to allow for values of 0 or 1
@majapw majapw force-pushed the maja-allow-for-skip-browser-download-override branch from 85ef481 to 90c9b23 Compare October 23, 2020 17:39
@majapw majapw changed the title Update getFromEnv logic to use ?? instead of || to allow for overriding of truthy values with falsey ones Update getFromEnv logic to validate that value is undefined (instead of falsey) before redefining it Oct 23, 2020
@pavelfeldman
Copy link
Member

Ouch, I did not see your change as I crafted mine. Let me actually cancel mine!

@majapw
Copy link
Contributor Author

majapw commented Oct 23, 2020

No worries! Are the test failures expected flake? Also happy to make this a bit more robust. I was expecting only 0/1 values for the env variable

@pavelfeldman pavelfeldman merged commit ea910a4 into microsoft:master Oct 23, 2020
@pavelfeldman
Copy link
Member

Are the test failures expected flake?

We have a broken screencast test on the tip of the tree, should cycle green soon-ish.

I was expecting only 0/1 values for the env variable

That's Ok for now. I might follow up with respecting =true / =false

aslushnikov pushed a commit that referenced this pull request Oct 27, 2020
…nstead of falsey) before redefining it (#4226)

Additionally, cast the `PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD` check to a number to allow for values of 0 or 1
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.

2 participants