From 924b891c4a84eac5e71aa1bc79ee1fa17dc12b93 Mon Sep 17 00:00:00 2001 From: "Ts.Saltan" Date: Thu, 18 Jul 2019 21:34:20 +0300 Subject: [PATCH] Igrone delete file errors --- .gitignore | 3 ++- packager/src-php/Tasks.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index e765ea56e..0e8555610 100644 --- a/.gitignore +++ b/.gitignore @@ -29,4 +29,5 @@ secret.asc package.github.yml package.hub.yml -*.hprof \ No newline at end of file +*.hprof +.phpintel/* diff --git a/packager/src-php/Tasks.php b/packager/src-php/Tasks.php index f80d800dd..d7308af18 100644 --- a/packager/src-php/Tasks.php +++ b/packager/src-php/Tasks.php @@ -114,7 +114,7 @@ static function createFile(string $path, string $content = '', bool $ignoreErrs * @param bool $ignoreErrs * @return bool */ - static function deleteFile(string $path, bool $ignoreErrs = false): bool + static function deleteFile(string $path, bool $ignoreErrs = true): bool { if (fs::exists($path)) { Console::log("-> delete file '{0}'", $path);