hapipal / confidence

Dynamic, declarative configurations
Other
264 stars 44 forks source link

Update store.js #71

Closed rainabba closed 7 years ago

rainabba commented 7 years ago

Initializing key wasn't happening so if a null/undefined value was passed in to the key parameter, the subsequent call to .replace() (not wrapped in try) will throw an error in the module when more ideally the result would be a null/undefined being passed back from confidence so the null value issue will only arise in user code (where it's easier to debug).

rainabba commented 7 years ago

Sorry, still learning CI contributions. Going to close this and start fresh.