Skip to content

Commit

Permalink
Merge pull request #404 from b0rt/master
Browse files Browse the repository at this point in the history
Remove Storage from copy command
  • Loading branch information
shalvah authored Nov 6, 2018
2 parents 495f35a + cb08766 commit cda59f2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Commands/GenerateDocumentation.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
use Illuminate\Support\Collection;
use Mpociot\ApiDoc\Tools\Generator;
use Mpociot\ApiDoc\Tools\RouteMatcher;
use Illuminate\Support\Facades\Storage;
use Mpociot\Documentarian\Documentarian;
use Mpociot\ApiDoc\Postman\CollectionWriter;

Expand Down Expand Up @@ -172,7 +171,7 @@ private function writeMarkdown($parsedRoutes)
}

if ($logo = config('apidoc.logo')) {
Storage::copy(
copy(
$logo,
$outputPath.DIRECTORY_SEPARATOR.'images'.DIRECTORY_SEPARATOR.'logo.png'
);
Expand Down

0 comments on commit cda59f2

Please sign in to comment.