drupal-check icon indicating copy to clipboard operation
drupal-check copied to clipboard

Dependency source logic not working

Open Dropa opened this issue 2 years ago • 0 comments

https://github.com/mglaman/drupal-check/blob/e78eff7b10f79659c020a45baaa1f3035cb9a06a/src/Command/CheckCommand.php#L184

In the project vs global dependency solver it seems that the __DIR__ is starting from wrong path. When running from project binary, __DIR__ is .../vendor/mglaman/drupal-check/src/Command so it just so happens to match with the 'global' path.

https://github.com/mglaman/drupal-check/blob/e78eff7b10f79659c020a45baaa1f3035cb9a06a/src/Command/CheckCommand.php#L195

Dropa avatar Aug 18 '22 12:08 Dropa