mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-09-14 11:39:32 +02:00
fix: readme
This commit is contained in:
@@ -31,6 +31,7 @@ function createFolderStructure(basePath, foldersToCreateIndexCount) {
|
||||
const indexPath = join(currentPath, 'index.ts')
|
||||
if (!fs.existsSync(indexPath) && index < folderArray.length - 1 && index >= folderArray.length - 1 - foldersToCreateIndexCount) {
|
||||
fs.writeFileSync(indexPath, '// index.ts file')
|
||||
console.log(`File created: ${indexPath}`)
|
||||
}
|
||||
// Recursively create the next folder
|
||||
recursiveCreate(currentPath, index + 1)
|
||||
|
Reference in New Issue
Block a user