fix(mixins/Config#get): fix missing entry error message
This commit is contained in:
@@ -32,7 +32,7 @@ module.exports = class Config {
|
||||
get(path) {
|
||||
const value = get(this._config, path)
|
||||
if (value === undefined) {
|
||||
throw new TypeError('missing config entry: ' + value)
|
||||
throw new TypeError('missing config entry: ' + path)
|
||||
}
|
||||
return value
|
||||
}
|
||||
|
||||
@@ -27,3 +27,7 @@
|
||||
> - major: if the change breaks compatibility
|
||||
>
|
||||
> In case of conflict, the highest (lowest in previous list) `$version` wins.
|
||||
|
||||
- @xen-orchestra/mixins patch
|
||||
- @xen-orchestra/proxy patch
|
||||
- @xen-orchestra/xo-server patch
|
||||
|
||||
Reference in New Issue
Block a user