File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
packages/cli/src/commands/schema Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @smartthings/cli " : patch
3+ ---
4+
5+ Schema apps that are in review cannot be updated.
Original file line number Diff line number Diff line change @@ -55,7 +55,9 @@ export default class SchemaUpdateCommand extends APIOrganizationCommand<typeof S
5555
5656 const { schemaApp : original , organizationWasUpdated } =
5757 await getSchemaAppEnsuringOrganization ( this , id , this . flags )
58- if ( original . certificationStatus === 'wwst' || original . certificationStatus === 'cst' ) {
58+ if ( original . certificationStatus === 'wwst' ||
59+ original . certificationStatus === 'cst' ||
60+ original . certificationStatus === 'review' ) {
5961 const cancelMsgBase =
6062 'Schema apps that have already been certified cannot be updated via the CLI'
6163 const cancelMsg = organizationWasUpdated
You can’t perform that action at this time.
0 commit comments