feat: default value

This commit is contained in:
cha0s 2021-02-05 19:11:10 -06:00
parent 768098b513
commit 9348d06f10

View File

@ -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) {