Skip to content

Commit c086adc

Browse files
devvaannshabose
authored andcommitted
fix: redundant prettier markdown files appears everytime the build runs
1 parent 7eff822 commit c086adc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build/api-docs-generator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ async function generateMarkdown(file, relativePath) {
250250
markdownContent, path.join(relativePath, fileName)
251251
);
252252

253-
await fs.writeFile(tempOutputFileName, updatedMarkdownContent, 'utf-8');
253+
await fs.writeFile(tempOutputFileName, normalizeLineEndings(updatedMarkdownContent), 'utf-8');
254254

255255
const fileExists = await fs.access(outputFileName).then(() => true).catch(
256256
() => false

0 commit comments

Comments
 (0)