Skip to content

Commit cb83155

Browse files
committed
fix(ci): fixed examples hydration
Signed-off-by: Jean-Baptiste Bianchi <jb.bianchi@neuroglia.io>
1 parent 3b6f976 commit cb83155

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.ci/examples-readme-hydration/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ const disclaimer = `<!--
3232
console.error('Enable to parse JSON or convert it to YAML, output as it is.', ex);
3333
}
3434
}
35+
fileContent = fileContent.trim() + '\n';
3536
readMe = readMe.replace(include[0], fileContent);
3637
};
3738
await fs.promises.writeFile(readMeOutputPath, disclaimer + readMe, { encoding: 'utf8', flag: 'w' });

0 commit comments

Comments
 (0)