Use common.ps1 in New-TestResources to detect the language.
Open
EngSys
- Dominant language
- C#
- Stars
- 135
- Forks
- 260
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 143
Description
https://github.com/Azure/azure-sdk-tools/pull/1077#discussion_r501904126
@chidozieononiwu is working on some common scripts one of which would give you the language. If you import common.ps1 it will import the language-settings.ps1 which will have $language defined.
Contributor guide
Research direction
Start with New-TestResources and inspect how it currently detects the language. Read common.ps1 and language-settings.ps1 to understand the shared import and the defined $language value. Done means New-TestResources uses the common script for language detection and the existing related tests or workflow still pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100