mirror of
https://github.com/pawelmalak/flame.git
synced 2025-07-19 11:39:36 +02:00
Changed initial files creation process
This commit is contained in:
parent
591824dd0c
commit
459523dfd2
9 changed files with 109 additions and 38 deletions
8
utils/init/initFiles.js
Normal file
8
utils/init/initFiles.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
const createFile = require('./createFile');
|
||||
const { files } = require('./initialFiles.json');
|
||||
|
||||
const initFiles = async () => {
|
||||
files.forEach(async (file) => await createFile(file));
|
||||
};
|
||||
|
||||
module.exports = initFiles;
|
Loading…
Add table
Add a link
Reference in a new issue