Skip to content

Commit

Permalink
fix: remove api version default
Browse files Browse the repository at this point in the history
  • Loading branch information
mshanemc committed May 24, 2022
1 parent 488c461 commit 6ea4ebd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/collections/componentSet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -290,9 +290,9 @@ export class ComponentSet extends LazyCollection<MetadataComponent> {
registry: this.registry,
apiVersion: this.apiVersion,
});
if (!options.apiVersion && !this.apiVersion && !this.sourceApiVersion) {
operationOptions.apiVersion = `${await getCurrentApiVersion()}.0`;
}
// if (!options.apiVersion && !this.apiVersion && !this.sourceApiVersion) {
// operationOptions.apiVersion = `${await getCurrentApiVersion()}.0`;
// }

const mdapiDeploy = new MetadataApiDeploy(operationOptions);
await mdapiDeploy.start();
Expand Down

0 comments on commit 6ea4ebd

Please sign in to comment.