#!/usr/bin/env pwsh <# .SYNOPSIS Resets the merge conflicts challenge environment. .DESCRIPTION Removes the existing challenge directory and runs setup.ps1 to create a fresh challenge environment. #> Write-Host "Resetting challenge environment..." -ForegroundColor Yellow # Remove existing challenge directory if present if (Test-Path "challenge") { Remove-Item -Path "challenge" -Recurse -Force Write-Host "Removed existing challenge directory." -ForegroundColor Cyan } # Run setup script Write-Host "Running setup script...`n" -ForegroundColor Cyan & ".\setup.ps1"