Azure / Azure/azure-functions-core-tools

Regression for PowerShell function apps: After initializing a folder via func init, func new prompts for a language when it should not

Open
#2,545 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.5k
Forks
498
Avg merge
5d 4h
Merged PRs (30d)
15

Description

After initializing a folder via `func init`, `func new` prompts for a language when it should not

![image](https://user-images.githubusercontent.com/12720858/114451581-4036ec00-9b8c-11eb-87b3-088296ded9a6.png)

Contributor guide

Open the contributing guide

Research direction

Reproduce the reported sequence in a PowerShell function-app folder: run `func init`, then `func new`, and compare the prompt with the expected behavior. Trace the `func init` and `func new` entry points to determine why language selection is requested; done means the sequence no longer prompts for a language when it should already be known.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.