Move not-recommended-to-edit config files into sub directory
This commit is contained in:
parent
8f86b54598
commit
2c339803a3
14 changed files with 91 additions and 61 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue