diff --git a/src/StorageDirectories.php b/src/StorageDirectories.php index 753cc38..c4e6eb4 100644 --- a/src/StorageDirectories.php +++ b/src/StorageDirectories.php @@ -31,7 +31,7 @@ public static function create() $directories = array_filter($directories, static fn ($directory) => ! is_dir($directory)); - if (count($directories)) { + if (count($directories) && defined('STDERR')) { fwrite(STDERR, 'Creating storage directories: ' . implode(', ', $directories) . PHP_EOL); }