Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
* develop:
  Fixes #4: Rename cleanMirrorDir to prepareMirrorDir.
  • Loading branch information
Jelle-S committed Mar 24, 2017
2 parents feced32 + 9ede3e9 commit 70b3980
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/PackageProject.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public function useTmpDir($use = null)
protected function getFiles()
{
$this->mirrorDir();
$this->cleanMirrorDir();
$this->prepareMirrorDir();
$this->printTaskInfo('Retrieving files to package.');
$mirrorFinder = new Finder();
$mirrorFinder->ignoreDotFiles(false);
Expand Down Expand Up @@ -187,13 +187,10 @@ function ($current) use ($tmpRealPath) {

/**
* Removes files that should not be packaged from the mirrored directory.
*
* @param string $mirror
* Path to the mirrorred directory.
*/
protected function cleanMirrorDir()
protected function prepareMirrorDir()
{
$this->printTaskInfo(sprintf('Cleaning directory %s.', $this->tmpDir));
$this->printTaskInfo(sprintf('Preparing directory %s.', $this->tmpDir));
if (empty($this->ignoreFileNames)) {
return;
}
Expand Down

0 comments on commit 70b3980

Please sign in to comment.