feat: default value
This commit is contained in:
parent
768098b513
commit
9348d06f10
|
@ -70,8 +70,8 @@ export default class Latus {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
get(path) {
|
get(path, defaultValue) {
|
||||||
return get(this.config, path);
|
return get(this.config, path, defaultValue);
|
||||||
}
|
}
|
||||||
|
|
||||||
invoke(hook, ...args) {
|
invoke(hook, ...args) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user