Skip to content

Commit a2ee327

Browse files
committed
Woops, actually like this
1 parent 2d5201d commit a2ee327

File tree

1 file changed

+1
-1
lines changed
  • exercises/concept/poetry-club-door-policy/.meta

1 file changed

+1
-1
lines changed

exercises/concept/poetry-club-door-policy/.meta/exemplar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export function frontDoorPassword(word) {
3030
* @returns {string}
3131
*/
3232
export function backDoorResponse(line) {
33-
return line.slice(-1);
33+
return line.trimEnd().slice(-1);
3434
}
3535

3636
/**

0 commit comments

Comments
 (0)