Skip to content

Commit

Permalink
fixup! feat: make search path for BinaryFinder customizable.
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
  • Loading branch information
kesselb committed Sep 20, 2024
1 parent 910e728 commit 96b9dbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/private/BinaryFinder.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class BinaryFinder implements IBinaryFinder {

public function __construct(
ICacheFactory $cacheFactory,
private IConfig $config
private IConfig $config,
) {
$this->cache = $cacheFactory->createLocal('findBinaryPath');
}
Expand Down
2 changes: 1 addition & 1 deletion tests/lib/BinaryFinderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ protected function setUp(): void {
}

protected function tearDown(): void {
putenv('PATH='.$this->oldEnv);
putenv('PATH=' . $this->oldEnv);
}

public function testDefaultFindsCat() {
Expand Down

0 comments on commit 96b9dbb

Please sign in to comment.