From 9e03a9624a8a0b172022c55516b79be23d55006c Mon Sep 17 00:00:00 2001 From: Bjarke Sporring Date: Thu, 15 Jan 2026 12:01:07 +0100 Subject: [PATCH] fix: verification of answers for history --- 01-essentials/02-history/verify.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/01-essentials/02-history/verify.ps1 b/01-essentials/02-history/verify.ps1 index 08b08a6..529af2e 100644 --- a/01-essentials/02-history/verify.ps1 +++ b/01-essentials/02-history/verify.ps1 @@ -42,7 +42,7 @@ if (-not (Test-Path "answers.md")) { $answersLower = $answers.ToLower() # Check 1: Contains "5" or "five" for commit count - if ($answersLower -match "5|five") { + if ($answersLower -match "5|five|fem") { Write-Host "[PASS] Correct commit count found" -ForegroundColor Green } else { Write-Host "[FAIL] Commit count not found or incorrect" -ForegroundColor Red @@ -76,7 +76,7 @@ if (-not (Test-Path "answers.md")) { } # Check 4: Contains "config" keyword for staged file - if ($answersLower -match "config") { + if ($answersLower -match "config.py") { Write-Host "[PASS] Staged file identified" -ForegroundColor Green } else { Write-Host "[FAIL] Staged file not identified" -ForegroundColor Red