From a7e254e49ed5d04e180b65d5c3cff3678cef11b9 Mon Sep 17 00:00:00 2001 From: Charles Wahome Date: Fri, 10 Jan 2025 16:48:15 +0300 Subject: [PATCH] Fix: Plugin generation (#5986) --- CHANGELOG.md | 7 +++++++ src/Kiota.Builder/Kiota.Builder.csproj | 2 +- src/kiota/kiota.csproj | 2 +- vscode/microsoft-kiota/CHANGELOG.md | 7 +++++++ .../src/commands/generate/generateClientCommand.ts | 4 ++-- 5 files changed, 18 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 32b1b2a4c7..7febe48231 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +## [1.22.1] - 2025-01-10 + +### Added + +### Changed +- Fixed a bug in the VS Code extension plugin generation [#5978](https://github.com/microsoft/kiota/issues/5978) + ## [1.22.0] - 2025-01-09 ### Added diff --git a/src/Kiota.Builder/Kiota.Builder.csproj b/src/Kiota.Builder/Kiota.Builder.csproj index fa2971d235..b799adfda1 100644 --- a/src/Kiota.Builder/Kiota.Builder.csproj +++ b/src/Kiota.Builder/Kiota.Builder.csproj @@ -15,7 +15,7 @@ Microsoft.OpenApi.Kiota.Builder Microsoft.OpenApi.Kiota.Builder ./nupkg - 1.23.0 + 1.22.1 $(VersionSuffix) https://github.com/microsoft/kiota/releases diff --git a/src/kiota/kiota.csproj b/src/kiota/kiota.csproj index 378d2ad0ca..4815878b01 100644 --- a/src/kiota/kiota.csproj +++ b/src/kiota/kiota.csproj @@ -15,7 +15,7 @@ Microsoft.OpenApi.Kiota Microsoft.OpenApi.Kiota ./nupkg - 1.23.0 + 1.22.1 $(VersionSuffix) https://github.com/microsoft/kiota/releases diff --git a/vscode/microsoft-kiota/CHANGELOG.md b/vscode/microsoft-kiota/CHANGELOG.md index 94c3f08309..e1a6bf8573 100644 --- a/vscode/microsoft-kiota/CHANGELOG.md +++ b/vscode/microsoft-kiota/CHANGELOG.md @@ -8,6 +8,13 @@ All notable changes to this project will be documented in this file. ### Changed +## [1.22.100000001] - 2025-01-10 + +### Added + +### Changed +- Fixed a bug in the VS Code extension plugin generation [#5978](https://github.com/microsoft/kiota/issues/5978) + ## [1.20.000000001] - 2024-11-07 ## [1.19.100000001] - 2024-10-03 diff --git a/vscode/microsoft-kiota/src/commands/generate/generateClientCommand.ts b/vscode/microsoft-kiota/src/commands/generate/generateClientCommand.ts index e65cebaf85..849426bdf5 100644 --- a/vscode/microsoft-kiota/src/commands/generate/generateClientCommand.ts +++ b/vscode/microsoft-kiota/src/commands/generate/generateClientCommand.ts @@ -201,7 +201,7 @@ export class GenerateClientCommand extends Command { settings.cleanOutput, settings.disableValidationRules, ConsumerOperation.Add, - undefined, + null, '', config.workingDirectory ); @@ -247,7 +247,7 @@ export class GenerateClientCommand extends Command { settings.cleanOutput, settings.disableValidationRules, ConsumerOperation.Add, - undefined, + null, '', config.workingDirectory );