Skip to content

Commit

Permalink
Attempt fix - github action stuck on rmdirSync
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurelineP committed Oct 29, 2024
1 parent 68eca7a commit ac9f5bb
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.rmdirSync(projectPath, { recursive: true })
console.error(`\t|____ Folder removed: "${projectPath}"\n`);
}
}
Expand Down

0 comments on commit ac9f5bb

Please sign in to comment.