rokucommunity / roku-deploy

An npm module for zipping and deploying to Roku devices.
MIT License
41 stars 17 forks source link

Throw exceptions inside RokuDeploy.ts when required parameters are missing #149

Closed TwitchBronBron closed 6 months ago

TwitchBronBron commented 7 months ago

When calling RokuDeploy.<name of function>, any required options that were not provided by the options parameter, and that were not filled in by default values, should cause an exception to be thrown.

For example, calling RokuDeploy.captureScreenshot() should throw an exception if we don't have host or password.