Skip to content

Commit

Permalink
Merge pull request #100 from dominikkukacka/main
Browse files Browse the repository at this point in the history
Make dig also work on Linux/MacOS
  • Loading branch information
freekmurze authored Jan 11, 2023
2 parents b9ee1e2 + 15b528c commit 3aeb3b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Handlers/Dig.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function __invoke(string $domain, int $flag, string $type): array

public function canHandle(): bool
{
if (! $digPath = (new ExecutableFinder())->find('dig')) {
if (! $digPath = (new ExecutableFinder())->find('dig', null, ['/usr/bin'])) {
return false;
}

Expand Down

0 comments on commit 3aeb3b8

Please sign in to comment.