| @@ -189,7 +189,7 @@ | ||
| 189 | 189 | $oldContent = $dom->saveHTML($link); | 
| 190 | 190 | $needsUpdate = false; | 
| 191 | 191 |        $target = $link->getAttribute("href"); | 
| 192 | - $target = dirname($filename) . "/" . $target; | |
| 192 | + $target = dirname($filename) . "/" . $target; | |
| 193 | 193 |        foreach($this->filesToProcess as $file) { | 
| 194 | 194 |          if($target === $file->getRealPath() AND Strings::endsWith($target, ".md")) { | 
| 195 | 195 | $needsUpdate = true; | 
| @@ -5,7 +5,7 @@ | ||
| 5 | 5 | |
| 6 | 6 |  function findVendorDirectory(): string { | 
| 7 | 7 | $recursionLimit = 10; | 
| 8 | -  $findVendor = function ($dirName = "vendor/bin", $dir = __DIR__) use (&$findVendor, &$recursionLimit) { | |
| 8 | +  $findVendor = function($dirName = "vendor/bin", $dir = __DIR__) use (&$findVendor, &$recursionLimit) { | |
| 9 | 9 | $recursionLimit--; | 
| 10 | 10 |      if($recursionLimit < 1) { | 
| 11 | 11 |        throw new \Exception("Cannot find vendor directory."); |