Skip to content

test: throw if no valid outDir - #22412

Merged
codebytere merged 1 commit into
masterfrom
throw-bad-out-dir
Feb 27, 2020
Merged

codebytere merged 1 commit into
masterfrom
throw-bad-out-dir

Conversation

@codebytere

Copy link
Copy Markdown
Member

Description of Change

Closes #22400.

build-tools ensures that process.env.ELECTRON_OUT_DIR is set, but for those who opt out of it, getOutDir can return undefined and error in the install step. This ensures a descriptive error is thrown and that a note is added to the testing doc.

cc @MarshallOfSound

Checklist

Release Notes

Notes: none

@codebytere
codebytere requested review from a team and jkleinsc February 27, 2020 16:12

@jkleinsc jkleinsc left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@codebytere
codebytere merged commit 02cf5ba into master Feb 27, 2020
@release-clerk

release-clerk Bot commented Feb 27, 2020

Copy link
Copy Markdown

No Release Notes

@jkleinsc
jkleinsc deleted the throw-bad-out-dir branch February 27, 2020 19:32
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.

error running tests on windows

3 participants