From ea0b489fb19c95b1b20141a68fbc76e7940c082f Mon Sep 17 00:00:00 2001 From: Oleksandr Moik Date: Thu, 11 May 2023 09:58:23 +0300 Subject: [PATCH] fix: remove unused class --- src/Helpers/DeployerFileContent.php | 43 ----------------------------- 1 file changed, 43 deletions(-) delete mode 100644 src/Helpers/DeployerFileContent.php diff --git a/src/Helpers/DeployerFileContent.php b/src/Helpers/DeployerFileContent.php deleted file mode 100644 index e4de0a8..0000000 --- a/src/Helpers/DeployerFileContent.php +++ /dev/null @@ -1,43 +0,0 @@ -path)); - - dump(\File::files(base_path())); - // dump(\File::put('temp11223344.ttxx', '')); - - // dd($this->path, \File::get($this->path), \File::get(base_path('deploy.php'))); - - $content = \File::get($this->path); - - if (empty($content) && !$isOnlyPrint) { - throw new GitlabDeployException('Deploy file is empty or not exists.'); - } - - $this->content = strval($content); - } - - public function restore(): void - { - \File::put(config('gitlab-deploy.deployer-php'), $this->content); - } -}