Fixed xf-dev:generate-finders fails if directory Finder does not exist yet

Kirby

Well-known member
Affected version
2.3.7
Calling xf-dev:generate-finders for an Add-on that does not already have a Finder directory fails with error message

File for <AddODir>/Finder/<FinderClass>.php could not be written to. Check directories exist and permissions.

This is somewhat annoying, IMHO the command should just auto-create the directory if it does not exist yet.
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.3.8).

Change log:
Create Finder directory if one does not exist when generating finder classes (#1211)
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom