Skip to content

Commit 2c1b275

Browse files
committed
shiritori: store history as kanas
Change-Id: I1b546bfad783122ddd15576a8779afff8f8fb5c5
1 parent 878297b commit 2c1b275

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/shiritori/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ shiritori.loaded.then(() => {
4141
.then(result => {
4242
console.log(`${result.word} [${result.kana}]`)
4343
chain.unshift(input)
44-
chain.unshift(result.word)
44+
chain.unshift(result.kana)
4545
rl.prompt()
4646
})
4747
.catch(reason => {

0 commit comments

Comments
 (0)