refactor: create the answers.md
This commit is contained in:
@@ -29,16 +29,16 @@ if (-not (Test-Path ".git")) {
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Check if answers.txt exists
|
||||
if (-not (Test-Path "answers.txt")) {
|
||||
Write-Host "[FAIL] answers.txt not found. Create this file with your answers." -ForegroundColor Red
|
||||
Write-Host "[HINT] Review the questions in README.md and create answers.txt" -ForegroundColor Yellow
|
||||
# Check if answers.md exists
|
||||
if (-not (Test-Path "answers.md")) {
|
||||
Write-Host "[FAIL] answers.md not found. Did you run setup.ps1?" -ForegroundColor Red
|
||||
Write-Host "[HINT] The setup script should have created answers.md for you" -ForegroundColor Yellow
|
||||
$allChecksPassed = $false
|
||||
} else {
|
||||
Write-Host "[PASS] answers.txt exists" -ForegroundColor Green
|
||||
Write-Host "[PASS] answers.md exists" -ForegroundColor Green
|
||||
|
||||
# Read the answers file
|
||||
$answers = Get-Content "answers.txt" -Raw
|
||||
$answers = Get-Content "answers.md" -Raw
|
||||
$answersLower = $answers.ToLower()
|
||||
|
||||
# Check 1: Contains "5" or "five" for commit count
|
||||
|
||||
Reference in New Issue
Block a user