Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to usage of DrupalFinderComposerRuntime API in ScriptHandler #677

Merged

Conversation

jnoordsij
Copy link
Contributor

@jnoordsij jnoordsij commented Jul 1, 2024

  • Add sanity null-check for $drupalRoot
  • Restore Path generator for config_sync_directory

This is a rebased version of #650 that reverts some changes introduced in #673.
Hopefully due to the changes introduced in webflo/drupal-finder#73 and the subsequent release (https://github.com/webflo/drupal-finder/releases/tag/1.3.1), the CI should now pass without manual overriding of the config sync directory.

This probably solves #675.

Note: if preferable, I could update composer.json to explicitly require "webflo/drupal-finder": "^1.3.1".

- Add sanity null-check for $drupalRoot
- Restore Path generator for config_sync_directory
Copy link
Collaborator

@AlexSkrypnyk AlexSkrypnyk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jnoordsij
Thank you for your contribution!

I think this looks good. Could you please update the code to follow the code style used in the current file.

@AlexSkrypnyk AlexSkrypnyk added the PR: Requires more work Pull request was reviewed and reviver(s) asked to work further on the pull request label Jul 2, 2024
@jnoordsij jnoordsij force-pushed the improve-drupal-finder-api branch from bbe78b0 to 3f0ee07 Compare July 2, 2024 10:34
@webflo
Copy link
Member

webflo commented Jul 2, 2024

👍

@leymannx
Copy link
Collaborator

leymannx commented Jul 2, 2024

Glad to see this sorted out dynamically. 🤩

@AlexSkrypnyk AlexSkrypnyk merged commit e7d5c58 into drupal-composer:10.x Jul 3, 2024
15 checks passed
@jnoordsij jnoordsij deleted the improve-drupal-finder-api branch July 3, 2024 11:19
AlexSkrypnyk added a commit that referenced this pull request Jul 19, 2024
AlexSkrypnyk added a commit that referenced this pull request Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: Requires more work Pull request was reviewed and reviver(s) asked to work further on the pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants