From 4cac43a87c5b13af2ca1298cdb3125caf5807095 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 20 Sep 2023 12:02:32 +0800 Subject: [PATCH] wip Signed-off-by: Mior Muhammad Zaki --- bin/sync | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/bin/sync b/bin/sync index 1a381f3..4c07f26 100755 --- a/bin/sync +++ b/bin/sync @@ -22,10 +22,10 @@ Illuminate\Support\Collection::make([ $files->copy("{$workingPath}/core/testbench.yaml", "{$workingPath}/testbench.yaml"); - Illuminate\Support\Collection::make([ - ...$files->glob("{$workingPath}/core/workbench") - ])->flatten() - ->filter(fn ($file) => is_file($file)) - ->each(function ($file) use ($files, $workingPath) { - $files->copy($file, "{$workingPath}/workbench".Illuminate\Support\Str::after($file, "{$workingPath}/core/workbench")); - }); +Illuminate\Support\Collection::make([ + ...$files->glob("{$workingPath}/core/workbench") +])->flatten() +->filter(fn ($file) => is_file($file)) +->each(function ($file) use ($files, $workingPath) { + $files->copy($file, "{$workingPath}/workbench".Illuminate\Support\Str::after($file, "{$workingPath}/core/workbench")); +});