Skip to content

Commit

Permalink
Fix add-practice-exercise script (#2382)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSchierboom authored Feb 15, 2025
1 parent c8ce079 commit 8729d74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/add-practice-exercise.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Remove-Item -Path "${exerciseDir}/UnitTest1.cs"
(Get-Content -Path ".editorconfig") -Replace "\[\*\.cs\]", "[${exerciseName}.cs]" | Set-Content -Path "${exerciseDir}/.editorconfig"

# Create new generator template and run generator (this will update the tests file)
bin\update-tests.ps1 -e $Exercise -new
bin/update-tests.ps1 -e $Exercise -new

# Output the next steps
$files = Get-Content "exercises/practice/${Exercise}/.meta/config.json" | ConvertFrom-Json | Select-Object -ExpandProperty files
Expand Down

0 comments on commit 8729d74

Please sign in to comment.