Skip to content

Commit 0932e85

Browse files
committed
fix: properly compute internal storage path
1 parent 5119b63 commit 0932e85

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

packages/core/src/functions.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,11 @@
44

55
namespace Tempest {
66
use Closure;
7-
use ReflectionException;
8-
use RuntimeException;
97
use Stringable;
10-
use Tempest\Container\Exceptions\CannotInstantiateDependencyException;
11-
use Tempest\Container\Exceptions\CannotResolveTaggedDependency;
12-
use Tempest\Container\Exceptions\CircularDependencyException;
138
use Tempest\Core\Composer;
149
use Tempest\Core\DeferredTasks;
1510
use Tempest\Core\Kernel;
1611
use Tempest\Support\Namespace\PathCouldNotBeMappedToNamespaceException;
17-
use Tempest\Support\Regex\InvalidPatternException;
1812

1913
use function Tempest\Support\Namespace\to_psr4_namespace;
2014
use function Tempest\Support\Path\to_absolute_path;
@@ -40,7 +34,7 @@ function src_path(Stringable|string ...$parts): string
4034
*/
4135
function internal_storage_path(Stringable|string ...$parts): string
4236
{
43-
return root_path(get(Kernel::class)->internalStorage, ...$parts);
37+
return to_absolute_path(get(Kernel::class)->internalStorage, ...$parts);
4438
}
4539

4640
/**

0 commit comments

Comments
 (0)