Skip to content

Commit

Permalink
fix(ci): fixed examples hydration
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Baptiste Bianchi <jb.bianchi@neuroglia.io>
  • Loading branch information
JBBianchi committed Feb 21, 2024
1 parent 3b6f976 commit a75fafa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .ci/examples-readme-hydration/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const disclaimer = `<!--
console.error('Enable to parse JSON or convert it to YAML, output as it is.', ex);
}
}
fileContent = fileContent.trim() + '\n';
readMe = readMe.replace(include[0], fileContent);
};
await fs.promises.writeFile(readMeOutputPath, disclaimer + readMe, { encoding: 'utf8', flag: 'w' });
Expand Down

0 comments on commit a75fafa

Please sign in to comment.