We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19960e9 commit 45e180bCopy full SHA for 45e180b
lib/slim.js
@@ -50,7 +50,7 @@ function getDefaultSLimOptions(folderPath) {
50
* @return {String}
51
*/
52
function getRemovalCommand(folderPath, removalMatch) {
53
- return `&& find ${folderPath} -type d -name "${removalMatch}" -exec rm -rf {} +`;
+ return `&& find ${folderPath} -type d -wholename "${removalMatch}" -exec rm -rf {} +`;
54
}
55
56
module.exports = {
0 commit comments