zambezi / ez-build

Zambezi build tool
MIT License
2 stars 1 forks source link

Fix target node #54

Closed mstade closed 6 years ago

mstade commented 6 years ago

Description

Fix parsing of the --target-node option.

Motivation and Context

The --target-node option didn't correctly parse the option into a number, and because of that would crash when setting to any value other than current. Additionally, we'll print a more helpful error when the compiler can't be initialized.

How Was This Tested?

Tests were added to test/unit/cli/opts.test.js.

Types of changes

Checklist: