diff --git a/src/FuncVersion.ts b/src/FuncVersion.ts index 8627ee51b..7c765d731 100644 --- a/src/FuncVersion.ts +++ b/src/FuncVersion.ts @@ -4,7 +4,6 @@ *--------------------------------------------------------------------------------------------*/ import { IActionContext, IAzureQuickPickItem, IAzureQuickPickOptions } from '@microsoft/vscode-azext-utils'; -import { learnMoreQp } from './constants'; import { localize } from './localize'; import { openUrl } from './utils/openUrl'; @@ -29,6 +28,7 @@ export async function promptForFuncVersion(context: IActionContext, message?: st picks = picks.filter(p => osSupportsVersion(p.data)); + const learnMoreQp = { label: localize('learnMore', '$(link-external) Learn more...'), description: '', data: undefined }; picks.push(learnMoreQp); const options: IAzureQuickPickOptions = { placeHolder: message || localize('selectVersion', 'Select a version'), stepName: 'funcVersion', suppressPersistence: true }; diff --git a/src/commands/createNewProject/ProgrammingModelStep.ts b/src/commands/createNewProject/ProgrammingModelStep.ts index f9e98c729..aea8ee463 100644 --- a/src/commands/createNewProject/ProgrammingModelStep.ts +++ b/src/commands/createNewProject/ProgrammingModelStep.ts @@ -4,7 +4,7 @@ *--------------------------------------------------------------------------------------------*/ import { AzureWizardPromptStep, IAzureQuickPickItem, IAzureQuickPickOptions, nonNullValue, openUrl } from '@microsoft/vscode-azext-utils'; -import { learnMoreQp, nodeProgrammingModelSetting } from '../../constants'; +import { nodeProgrammingModelSetting } from '../../constants'; import { localize } from '../../localize'; import { getWorkspaceSetting } from '../../vsCodeConfig/settings'; import { IProjectWizardContext } from './IProjectWizardContext'; @@ -29,6 +29,7 @@ export class ProgrammingModelStep extends AzureWizardPromptStep