Skip to content

Commit

Permalink
[BUGFIX] Use absolute file path without project prefix
Browse files Browse the repository at this point in the history
Resolves: #4291
  • Loading branch information
simonschaufi committed Jul 18, 2024
1 parent 6dbc100 commit 3e8257f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,7 @@
if (StaticPHPUnitEnvironment::isPHPUnitRun() || $isDryRun) {
$adapter = new InMemoryFilesystemAdapter();
} else {
$cwd = getcwd();
if (! $cwd) {
throw new \Exception('could not find current working directory');
}

$adapter = new LocalFilesystemAdapter($cwd);
$adapter = new LocalFilesystemAdapter('/');
}

return new FlysystemFilesystem(new Filesystem($adapter));
Expand Down

0 comments on commit 3e8257f

Please sign in to comment.