Skip to content
This repository has been archived by the owner on May 11, 2018. It is now read-only.

Add test for invalid electron version #176

Merged
merged 3 commits into from
Feb 28, 2017
Merged

Add test for invalid electron version #176

merged 3 commits into from
Feb 28, 2017

Conversation

existentialism
Copy link
Member

In the middle of refactoring/clean up some things to fix #154 and figured I'd push up some small housekeeping bits.

Ref: #125 (comment)

Copy link
Member

@yavorsky yavorsky left a comment

Choose a reason for hiding this comment

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

LGTM, just 1 proposal

src/index.js Outdated
invariant(
!!electronChromeVersion,
`Electron version ${targetOps.electron} is either too old or too new`
);
Copy link
Member

Choose a reason for hiding this comment

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

Maybe let's place this stuff to normalize-options module like other options' validations?

Copy link
Member Author

Choose a reason for hiding this comment

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

updated!

Copy link
Member

@yavorsky yavorsky left a comment

Choose a reason for hiding this comment

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

👍

@hzoo hzoo merged commit dd21531 into master Feb 28, 2017
@existentialism existentialism deleted the add-electron-fail branch March 6, 2017 21:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants