ci: delete old files when making new ones

This commit is contained in:
Cynthia Foxwell 2023-02-04 14:04:14 -07:00
parent a2bda7eff4
commit 31e4c4d251
2 changed files with 3 additions and 1 deletions

View file

@ -15,6 +15,8 @@ splitter:
- git config --global user.name "CI"
- git config --global user.email "ci@c7.pm"
script:
- rm -rf modular
- mkdir modular
- node bin/splitter.js xmc.user.css modular
- prettier --write modular/**/*.css
- prettier --write modular/*.css

View file

@ -82,7 +82,7 @@ try {
files[
key.replace("xmc_", "") +
"/" +
option.name.toLowerCase().replace(/ /g, "_")
option.name.toLowerCase().replace(/ /g, "_").replace(/\//g, "_")
] = option.value;
}
} else {