File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -48,8 +48,8 @@ export class PackageXmlCreateCommand extends SfCommand<any> {
48
48
public async run ( ) : Promise < any > {
49
49
const { flags } = await this . parse ( PackageXmlCreateCommand ) ;
50
50
const meta = { } ;
51
- if ( flags . apiversion ) {
52
- meta [ "version" ] = flags . apiversion ;
51
+ if ( flags [ "api-version" ] ) {
52
+ meta [ "version" ] = flags [ "api-version" ] ;
53
53
}
54
54
const metadataComponentNames =
55
55
flags . metadata === "-"
Original file line number Diff line number Diff line change @@ -84,8 +84,8 @@ export class PackageXmlGenerateCommand extends SfCommand<any> {
84
84
throw new Error ( `Could not parse inputfile at path ${ flags . inputfile } ` ) ;
85
85
}
86
86
const meta = { } ;
87
- if ( flags . apiversion ) {
88
- meta [ "version" ] = flags . apiversion ;
87
+ if ( flags [ "api-version" ] ) {
88
+ meta [ "version" ] = flags [ "api-version" ] ;
89
89
}
90
90
const ignorePatterns = [
91
91
...( await getNonEmptyLinesFromFiles ( flags . ignorefile ) ) ,
You can’t perform that action at this time.
0 commit comments