diff --git a/vscode/microsoft-kiota/src/steps.ts b/vscode/microsoft-kiota/src/steps.ts index fe5bb091de..eadde8e138 100644 --- a/vscode/microsoft-kiota/src/steps.ts +++ b/vscode/microsoft-kiota/src/steps.ts @@ -32,7 +32,7 @@ export async function openManifestSteps() { title, step: step++, totalSteps: totalSteps, - value: state.manifestPath || '', + value: state.manifestPath ?? '', prompt: l10n.t('A path or URL to an API manifest'), validate: validateIsNotEmpty, shouldResume: shouldResume @@ -101,7 +101,7 @@ export async function searchSteps(searchCallBack: (searchQuery: string) => Thena title, step: step++, totalSteps: totalSteps, - value: state.searchQuery || '', + value: state.searchQuery ?? '', prompt: l10n.t('Search or paste a path to an API description'), validate: validateIsNotEmpty, shouldResume: shouldResume @@ -200,7 +200,7 @@ export async function generateSteps(existingConfiguration: Partial