Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Dec 16, 2024
1 parent 2d9c71a commit 83daffc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Workbench/Actions/RemoveAssetSymlinkFolders.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function handle(): void
Collection::make($sync)
->map(static function ($pair) {
/** @var bool $reverse */
$reverse = \is_bool($pair['reverse'] ?? null) ? $pair['reverse'] : false;
$reverse = isset($pair['reverse']) && \is_bool($pair['reverse']) ? $pair['reverse'] : false;

/** @var string $from */
$from = $reverse === false ? package_path($pair['from']) : base_path($pair['from']);
Expand Down
4 changes: 4 additions & 0 deletions testbench.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ workbench:
api: true
commands: true
views: true
sync:
- from: storage
to: workbench/storage
reverse: true

purge:
directories: public/vendor/*
2 changes: 2 additions & 0 deletions workbench/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.env
.env.dist
.env.example

/storage

0 comments on commit 83daffc

Please sign in to comment.