🐛 fix: added windows support
parent
2ab3909bae
commit
7a5a8843e3
|
@ -93,7 +93,7 @@ module.exports = {
|
|||
let fileConfigs = {};
|
||||
|
||||
await Promise.all(configFiles.map(async (file) => {
|
||||
const type = file.split('.')[0]; // Grab the first part of the filename.
|
||||
const type = file.split('.')[0].replace('##', '::'); // Grab the first part of the filename.
|
||||
const name = file.split(/\.(.+)/)[1].split('.').slice(0, -1).join('.').replace('##', '::'); // Grab the rest of the filename minus the file extension.
|
||||
|
||||
if (
|
||||
|
|
Loading…
Reference in New Issue