passionweb-manuel-schnabel / contentblocks-reg-api-migration

Adds a migration command to migrate content blocks from the Content Blocks Registration API to TYPO3 CMS Content Blocks.
2 stars 1 forks source link

Exception array_diff($array) requires array as first argument #3

Open velletti opened 3 weeks ago

velletti commented 3 weeks ago

Reason The given parameter --package-path does not start correctly with "/" .

Solution: Show a better readable error message before the exception is thrown.

i will create a pull request for this

velletti commented 3 weeks ago

PS: the Pull request will automatically fix missing "/" in given parameter, but still will throw readbale exception, if given path does not exist.