From 8ad2fbcb5eced8eef0156cd651b3ddce018eedd2 Mon Sep 17 00:00:00 2001 From: Jeremy Walker Date: Wed, 22 Jan 2025 00:29:04 +0000 Subject: [PATCH] Fix error message --- .../exercises/rock_paper_scissors/RockPaperScissorsExercise.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/components/bootcamp/SolveExercisePage/exercises/rock_paper_scissors/RockPaperScissorsExercise.tsx b/app/javascript/components/bootcamp/SolveExercisePage/exercises/rock_paper_scissors/RockPaperScissorsExercise.tsx index 7daaf499b7..783631dac0 100644 --- a/app/javascript/components/bootcamp/SolveExercisePage/exercises/rock_paper_scissors/RockPaperScissorsExercise.tsx +++ b/app/javascript/components/bootcamp/SolveExercisePage/exercises/rock_paper_scissors/RockPaperScissorsExercise.tsx @@ -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".' ) }