Skip to content

Commit

Permalink
fix: change executable to correct value
Browse files Browse the repository at this point in the history
  • Loading branch information
kauffinger committed Dec 16, 2024
1 parent 42b29a8 commit 436b135
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Markitdown.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function convert(string $filename): string
->run();

if (! $processResult->successful()) {
throw MarkitdownException::processFailed('markitdown', $processResult->errorOutput());
throw MarkitdownException::processFailed($this->executable, $processResult->errorOutput());
}

return $processResult->output();
Expand All @@ -45,7 +45,7 @@ public function convertString(string $content): string
->run();

if (! $processResult->successful()) {
throw MarkitdownException::processFailed('markitdown', $processResult->errorOutput());
throw MarkitdownException::processFailed($this->executable, $processResult->errorOutput());
}

return $processResult->output();
Expand Down

0 comments on commit 436b135

Please sign in to comment.