From 6ea4ebd867ab8246ea04035afc5ba93f57427827 Mon Sep 17 00:00:00 2001 From: mshanemc Date: Tue, 24 May 2022 09:42:43 -0500 Subject: [PATCH] fix: remove api version default --- src/collections/componentSet.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/collections/componentSet.ts b/src/collections/componentSet.ts index 13f26927eb..ac0ed94eaa 100644 --- a/src/collections/componentSet.ts +++ b/src/collections/componentSet.ts @@ -290,9 +290,9 @@ export class ComponentSet extends LazyCollection { 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();