Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
offensive-vk committed Jan 5, 2025
1 parent 0789d62 commit 170c9c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ const capitalize = (str) => str.charAt(0).toUpperCase() + str.slice(1);

let readmeContent;
const dataToWrite = `<!--START_SECTION:activity-->\n Sample Text \n<!--END_SECTION:activity-->`
exec(`echo ${dataToWrite} >> ${targetFile}`);
try {
readmeContent = fs.readFileSync(`./${targetFile}`, "utf-8").split("\n");
} catch (err) {
Expand Down

0 comments on commit 170c9c4

Please sign in to comment.