Commit e21d914c authored by Taylor Otwell's avatar Taylor Otwell

improve work directory cleanup.

parent f0c27377
......@@ -40,6 +40,8 @@ abstract class Provider {
$latest = File::latest(dirname($target));
@chmod($latest->getRealPath(), 0777);
// Once we have the latest modified directory, we should be
// able to move its contents over into the bundles folder
// so the bundle will be usable by the develoepr.
......
......@@ -222,7 +222,7 @@ class File {
{
$path = $item->getRealPath();
static::cpdir($path, $location);
static::cpdir($path, $location, $delete, $options);
if ($delete) @rmdir($item->getRealPath());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment