fix: File Exception.php not found
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
<?php
|
||||
namespace Bsr\Utils\FileSystem;
|
||||
|
||||
use Bsr\Utils\FileSystem\Exception\BadEnvException;
|
||||
|
||||
class FileSystem
|
||||
{
|
||||
/**
|
||||
@@ -24,7 +26,7 @@ class FileSystem
|
||||
if (!file_exists($buildPath . "/$part")) {
|
||||
if (!is_writable($buildPath)) {
|
||||
if ($throw) {
|
||||
throw new Exception("Attempting to create : $path, but $buildPath is not writeable.");
|
||||
throw new BadEnvException("Attempting to create : $path, but $buildPath is not writeable.");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user