Update prompt

This commit is contained in:
vczh
2026-02-19 04:50:04 -08:00
parent 48bbc69219
commit bb624af606
6 changed files with 58 additions and 32 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ Remove-Item -Path $logFile, $logFileUnfinished -Force -ErrorAction SilentlyConti
# Find the solution folder by looking for *.sln files
$solutionFolder = GetSolutionDir
$solutionFile = "$solutionFolder\$((Get-ChildItem -Path $solutionFolder -Filter "*.sln" -ErrorAction SilentlyContinue)[0])"
$solutionFile = "$solutionFolder\$((Get-ChildItem -Path $solutionFolder -Filter "*.sln" -ErrorAction SilentlyContinue)[0].Name)"
$vsdevcmd = $env:VLPP_VSDEVCMD_PATH
if ($vsdevcmd -eq $null) {
+12
View File
@@ -0,0 +1,12 @@
# Prepare Copilot review files
$taskLogsDir = "$PSScriptRoot\..\TaskLogs"
# Delete all Copilot_Review_Finished_*.md files
Remove-Item -Path "$taskLogsDir\Copilot_Review_Finished_*.md" -Force -ErrorAction SilentlyContinue
# Rename all Copilot_Review_Writing_*.md files to Copilot_Review_Finished_*.md
Get-ChildItem -Path "$taskLogsDir\Copilot_Review_Writing_*.md" -ErrorAction SilentlyContinue | ForEach-Object {
$newName = $_.Name -replace '^Copilot_Review_Writing_', 'Copilot_Review_Finished_'
Rename-Item -Path $_.FullName -NewName $newName
}