Open syno-dlr opened 1 month ago
@purplecabbage can we get some eyes on this? Is it better if I create an internal Jira ticket to match?
JIRA issue created: https://jira.corp.adobe.com/browse/ACNA-3024
This appears to be an issue with the Production workspace, and the --action
flag resulting in a logic error that resulted in libConsoleCLI
not to be initialized.
If --action
is set, it should never go in here (in checking the extension state): https://github.com/adobe/aio-cli-plugin-app/blob/378781925c07a630fa4887c35ab9a60bfa7e4c94/src/commands/app/deploy.js#L88
(preparing a patch)
PR #808
Hello,
When I try to deploy a single Action, I have this error :
$ aio app deploy -a someAction › Error: Cannot read properties of undefined (reading 'getProject')
After some research, I see there is a "publish" flag initialized here : https://github.com/adobe/aio-cli-plugin-app/blob/378781925c07a630fa4887c35ab9a60bfa7e4c94/src/commands/app/deploy.js#L35
flags.publish = flags.publish && !flags.action
This flag is used to initialize
libConsoleCLI
variable wich is used for "getProject" function...I think you have to remove "&& !flags.action" to let single action to deploy.
Thank you.
Damien.