We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6f81f7d + 0e6f513 commit 6b8b1a8Copy full SHA for 6b8b1a8
1 file changed
scripts/powershell/update-agent-context.ps1
@@ -43,8 +43,8 @@ function Initialize-AgentFile($targetFile, $agentName) {
43
elseif ($newLang -match 'JavaScript|TypeScript') { $commands = 'npm test && npm run lint' }
44
else { $commands = "# Add commands for $newLang" }
45
$content = $content.Replace('[ONLY COMMANDS FOR ACTIVE TECHNOLOGIES]', $commands)
46
- $content = $content.Replace('[LANGUAGE-SPECIFIC, ONLY FOR LANGUAGES IN USE]', "$newLang: Follow standard conventions")
47
- $content = $content.Replace('[LAST 3 FEATURES AND WHAT THEY ADDED]', "- $currentBranch: Added $newLang + $newFramework")
+ $content = $content.Replace('[LANGUAGE-SPECIFIC, ONLY FOR LANGUAGES IN USE]', "${newLang}: Follow standard conventions")
+ $content = $content.Replace('[LAST 3 FEATURES AND WHAT THEY ADDED]', "- ${currentBranch}: Added ${newLang} + ${newFramework}")
48
$content | Set-Content $targetFile -Encoding UTF8
49
}
50
0 commit comments