File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @celonis/content-cli" ,
3- "version" : " 1.1.0 " ,
3+ "version" : " 1.1.1 " ,
44 "description" : " CLI Tool to help manage content in Celonis Platform" ,
55 "main" : " content-cli.js" ,
66 "bin" : {
Original file line number Diff line number Diff line change @@ -237,8 +237,10 @@ export class CommandConfig {
237237 if ( ( this . cmd as any ) . isBeta ) {
238238 return ;
239239 }
240+ const providedOptions = this . cmd . opts ( ) ;
240241 for ( const option of this . cmd . options ) {
241- if ( ( option as any ) . isBeta ) {
242+ const optionName = option . attributeName ( ) ;
243+ if ( ( option as any ) . isBeta && Object . hasOwn ( providedOptions , optionName ) ) {
242244 logger . info ( chalk . yellow ( `The option '${ option . long } ' is in beta and may change in future releases.` ) ) ;
243245 }
244246 }
You can’t perform that action at this time.
0 commit comments