mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
less prompts about langauge and runtime version (#18949)
This commit is contained in:
@@ -59,7 +59,7 @@ export async function createAzureFunction(connectionString: string, schema: stri
|
|||||||
// because of an AF extension API issue, we have to get the newly created file by adding a watcher
|
// because of an AF extension API issue, we have to get the newly created file by adding a watcher
|
||||||
// issue: https://github.com/microsoft/vscode-azurefunctions/issues/3052
|
// issue: https://github.com/microsoft/vscode-azurefunctions/issues/3052
|
||||||
newHostProjectFile = await azureFunctionsUtils.waitForNewHostFile();
|
newHostProjectFile = await azureFunctionsUtils.waitForNewHostFile();
|
||||||
await azureFunctionApi.createFunction({});
|
await azureFunctionApi.createFunction({ language: 'C#', targetFramework: 'netcoreapp3.1' });
|
||||||
const timeoutForHostFile = utils.timeoutPromise(constants.timeoutProjectError);
|
const timeoutForHostFile = utils.timeoutPromise(constants.timeoutProjectError);
|
||||||
hostFile = await Promise.race([newHostProjectFile.filePromise, timeoutForHostFile]);
|
hostFile = await Promise.race([newHostProjectFile.filePromise, timeoutForHostFile]);
|
||||||
if (hostFile) {
|
if (hostFile) {
|
||||||
|
|||||||
Reference in New Issue
Block a user