mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-08-18 09:48:10 +08:00
Update prompt
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user