Export existing language prompt

We plan to ask the user to choose a language, before attempting
to download a corresponding database for them.

The functionality already exists, so let's re-use it.
This commit is contained in:
Elena Tanasoiu
2023-03-23 17:53:14 +00:00
parent 1a2e5d90df
commit 053a1800a9

View File

@@ -521,7 +521,7 @@ export async function convertGithubNwoToDatabaseUrl(
}
}
async function promptForLanguage(
export async function promptForLanguage(
languages: string[],
progress: ProgressCallback,
): Promise<string | undefined> {