Move not-recommended-to-edit config files into sub directory

This commit is contained in:
Belleve Invis 2020-05-29 20:22:59 -07:00
parent 8f86b54598
commit 2c339803a3
14 changed files with 91 additions and 61 deletions

View file

@ -3,7 +3,10 @@ const path = require("path");
const toml = require("toml");
module.exports = async function () {
const variantsToml = await fs.readFile(path.join(__dirname, "../../variants.toml"), "utf8");
const variantsToml = await fs.readFile(
path.join(__dirname, "../../params/variants.toml"),
"utf8"
);
const variants = toml.parse(variantsToml);
const cvData = getCvData(variants);