Skip to content

Commit

Permalink
Fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
iHiD committed Jan 22, 2025
1 parent 59e07de commit 8ad2fbc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default class RockPaperScissorsExercise extends Exercise {
public announceResult(executionCtx: ExecutionContext, result: Result) {
if (result !== 'player_1' && result !== 'player_2' && result !== 'tie') {
executionCtx.logicError(
'Oh no! You announced an invalid result. There\'s chaos in the playing hall! Please announce either "player1", "player2" or "tie".'
'Oh no! You announced an invalid result. There\'s chaos in the playing hall! Please announce either "player_1", "player_2" or "tie".'
)
}

Expand Down

0 comments on commit 8ad2fbc

Please sign in to comment.