Skip to content

Commit

Permalink
Merge branch 'main' of github.com:gwleuverink/nativephp-electron
Browse files Browse the repository at this point in the history
  • Loading branch information
gwleuverink committed Jan 13, 2025
2 parents 7670441 + e3cffc0 commit a2633ac
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Traits/CopiesToBuildDirectory.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@

namespace Native\Electron\Traits;

use function Laravel\Prompts\note;
use function Laravel\Prompts\intro;
use RecursiveCallbackFilterIterator;
use RecursiveDirectoryIterator;
use RecursiveIteratorIterator;
use Symfony\Component\Filesystem\Filesystem;

use function Laravel\Prompts\intro;
use function Laravel\Prompts\note;

trait CopiesToBuildDirectory
{
abstract protected function buildPath(): string;
Expand All @@ -19,7 +20,7 @@ protected function copyToBuildDirectory()

$sourcePath = base_path();
$buildPath = $this->buildPath();
$filesystem = new Filesystem();
$filesystem = new Filesystem;

// Clean and create build directory
$filesystem->remove($buildPath);
Expand Down

0 comments on commit a2633ac

Please sign in to comment.