Skip to content

Commit 82548ef

Browse files
committed
shiritori: fix typo
Change-Id: I58e31b470e02e51e813f6c6e423a0f5baf3c3198
1 parent 1dfdb04 commit 82548ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

functions/shiritori/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ shiritori.loaded.then(() => {
4747
process.exit(-1)
4848
},
4949
next (word, kana) {
50-
inputs.unshift(input)
51-
inputs.unshift(kana)
50+
previousInputs.unshift(input)
51+
previousInputs.unshift(kana)
5252
console.log(`${word} [${kana}]`)
5353
rl.prompt()
5454
}

0 commit comments

Comments
 (0)