Another typo
This commit is contained in:
parent
c703e1c2c4
commit
d84d838775
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ let filename_default = path.resolve(root_dir, "./settings.default.toml"),
|
||||||
filename_custom = path.resolve(root_dir, "../settings.toml");
|
filename_custom = path.resolve(root_dir, "../settings.toml");
|
||||||
|
|
||||||
if(!fs.existsSync(filename_custom))
|
if(!fs.existsSync(filename_custom))
|
||||||
fs.writeFileSync(filename_custom, `# Custom settings file. This file overrides server/settings.default.toml - refer there of example of settings you can override.\n\n`);
|
fs.writeFileSync(filename_custom, `# Custom settings file. This file overrides server/settings.default.toml - refer there for examples of settings you can override.\n\n`);
|
||||||
|
|
||||||
let settings = toml.parse(fs.readFileSync(filename_default, "utf-8")),
|
let settings = toml.parse(fs.readFileSync(filename_default, "utf-8")),
|
||||||
settings_override = toml.parse(fs.readFileSync(filename_custom, "utf-8"));
|
settings_override = toml.parse(fs.readFileSync(filename_custom, "utf-8"));
|
||||||
|
|
Loading…
Reference in a new issue