Skip to content

Update DirectoryHandler.php to scandir#4

Open
cambricorp wants to merge 1 commit into
semji:masterfrom
cambricorp:patch-1
Open

Update DirectoryHandler.php to scandir#4
cambricorp wants to merge 1 commit into
semji:masterfrom
cambricorp:patch-1

Conversation

@cambricorp

Copy link
Copy Markdown

deleteDirectory method was failing with non-empty directory error when directory included a .gitkeep file

deleteDirectory method was failing with non-empty directory error when directory included a .gitkeep file
Comment thread src/DirectoryHandler.php
return false;
}

if (is_dir($dirPath))

@owenvoke owenvoke May 23, 2017

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it need this second check? It's already checked if it's a directory on line 43.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants