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

2.x: make sure the configured plugin directory exists before baking a plugin #910

Closed
wants to merge 1 commit into from

Conversation

LordSimal
Copy link
Contributor

Closes #909

@LordSimal LordSimal added this to the 2.x (CakePHP 4) milestone Feb 21, 2023
@ADmad
Copy link
Member

ADmad commented Feb 21, 2023

A better fix is as explained here #909 (comment).

@ADmad
Copy link
Member

ADmad commented Feb 21, 2023

Calling Plugin::templatePath() with an empty string will always generate an exception regardless of the plugins directory existence.

@LordSimal LordSimal closed this Feb 21, 2023
@LordSimal LordSimal deleted the 2.x-plugin-bake branch February 21, 2023 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect message when plugins directory not exists using bake
2 participants