async function showConfirmationModal()

in src/manifestList.ts [136:147]


async function showConfirmationModal(message: string, auth: AuthMetadata | null): Promise<void> {
    let msg = message;
    if (auth) {
        msg += `\n\nnamespace: ${auth.namespace}\nAPI host: ${auth.apihost}`;
    }
    const yes = await vscode.window.showInformationMessage(msg, { modal: true }, 'Yes');
    if (yes === 'Yes') {
        return Promise.resolve();
    } else {
        return Promise.reject();
    }
}