Skip to content

Commit

Permalink
Attempt fix - github action stuck on rmdirSync --> changed to rmSync …
Browse files Browse the repository at this point in the history
…= OK
  • Loading branch information
LaurelineP committed Oct 29, 2024
1 parent 68eca7a commit f524656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generators/generateCards.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async function generateIncludes() {
});
} catch(error){
console.error(`[ ERROR x MISSING METADATA ]\n\t - Concerning folder: "${projectPath}"`);
fs.rmdirSync(projectPath)
fs.rmSync(projectPath, { recursive: true })
console.error(`\t|____ Folder removed: "${projectPath}"\n`);
}
}
Expand Down

0 comments on commit f524656

Please sign in to comment.