Should the 'tenants:artisan' command return -1 if there are no tenants? #504
Unanswered
robbfountain
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When using a server manager like a forge for deployment and running the tenants:artisan command as part of the deployment script, the deployment will fail if there are no tenants since it will return -1 as part of the execute method.
I don't believe it should return
-1
since it causes anything after this command to fail and will error out the deployment.If there are no tenants yet, I would think you would still want the deployment to continue.
Am I wrong on this one or am I missing something ?
Beta Was this translation helpful? Give feedback.
All reactions