We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b11038b + 3733ed8 commit 5132f50Copy full SHA for 5132f50
lib/config.js
@@ -39,6 +39,8 @@ export default class Config {
39
* @return {Object} validated and fully filled out objects
40
*/
41
validateOpts (opts) {
42
+ // override argpare's annoying use of null values
43
+ if (opts.env === null) { opts.env = undefined }
44
const schema = Joi.object().keys({
45
root: Joi.string().required(),
46
env: Joi.string(),
0 commit comments