Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Check engine and platform when building ideal tree #143

Closed
wants to merge 3 commits into from

Conversation

bonkydog
Copy link
Contributor

Move engine and platform checks from the reify stage (which only runs when node_modules is modified) to the "build ideal tree" stage.

References

Fixes #134

@bonkydog bonkydog marked this pull request as draft September 24, 2020 21:52
@bonkydog bonkydog marked this pull request as ready for review September 25, 2020 18:15
Copy link
Contributor

@isaacs isaacs left a comment

Choose a reason for hiding this comment

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

This looks good to me. I'll land and squash out the indentation issue. (We line up the : characters everywhere else for better scanability.)

[_parseSettings] (options) {
const update = options.update === true ? { all: true }
: Array.isArray(options.update) ? { names: options.update }
: options.update || {}
: options.update || {}
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't indent here. I'll add a eslintrc soon :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok!

@isaacs isaacs closed this in da93ff1 Sep 25, 2020
@bonkydog bonkydog self-assigned this Sep 28, 2020
@wraithgar wraithgar deleted the brian/always-check-engine-and-platform branch April 22, 2021 17:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

warn/throw on mismatched engine/platform all the time, not only for newly added modules
2 participants