Skip to content

Commit

Permalink
Updated script
Browse files Browse the repository at this point in the history
  • Loading branch information
kamal-skyflow authored Dec 11, 2023
1 parent cac970d commit 7ce15dd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion scripts/docs-script/processMarkdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,10 @@ const folderPath = './docs/';
readFolderStructure(folderPath, false);
// const transformedMarkdown = processMarkdown(markdown, true);
// console.log(transformedMarkdown);

const readmePath = path.join(folderPath, 'README.md');
try {
unlinkSync(readmePath);
console.log(`Removed README file: ${readmePath}`);
} catch (error: any) {
console.error(`Error removing README file: ${error.message}`);
}

0 comments on commit 7ce15dd

Please sign in to comment.