We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1e027f3 + 207ba88 commit ab45afeCopy full SHA for ab45afe
1 file changed
lib/index.js
@@ -9,7 +9,7 @@ class ConfigParser {
9
* @param {Object} settings Parser settings.
10
* @param {String} settings.prefix Prefix to prepend to each ENV variable.
11
*/
12
- constructor(settings) {
+ constructor(settings = {}) {
13
this.prefix = settings.prefix || '';
14
}
15
0 commit comments