From 701f8a6015a74d618adc45683951e49fd68df847 Mon Sep 17 00:00:00 2001 From: Alexander Gaal Date: Fri, 18 Feb 2022 21:34:32 +0100 Subject: [PATCH] change move to copy in copy file action --- composer.json | 2 +- src/Actions/CopyFileAction.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index dfab01d..b1103bc 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "regnerisch/laravel-beyond", "type": "library", "license": "ISC", - "version": "2.3.1", + "version": "2.3.2", "autoload": { "psr-4": { "Regnerisch\\LaravelBeyond\\": "src/" diff --git a/src/Actions/CopyFileAction.php b/src/Actions/CopyFileAction.php index 1eb6d0f..f12b730 100644 --- a/src/Actions/CopyFileAction.php +++ b/src/Actions/CopyFileAction.php @@ -16,7 +16,7 @@ public function execute(string $srcPath, string $targetPath) true ); - $fs->move( + $fs->copy( $srcPath, $targetPath, );