Update dependencies, except YAML for now since it has formatting changes

This commit is contained in:
mtkennerly 2023-06-23 01:17:32 +08:00
parent c18384129f
commit 307fc3470c
No known key found for this signature in database
GPG key ID: E764BE00BE6E6408
4 changed files with 1335 additions and 1034 deletions

View file

@ -39,7 +39,7 @@ export abstract class YamlFile<T = object> {
load(): void {
if (fs.existsSync(this.path)) {
this.data = yaml.safeLoad(fs.readFileSync(this.path, "utf8"));
this.data = yaml.safeLoad(fs.readFileSync(this.path, "utf8")) as T;
} else {
this.data = this.defaultData;
}