Skip to content

Commit 1dfdb04

Browse files
proppyGerrit Code Review
authored andcommitted
Merge "shiritori: fix indent"
2 parents cf7886e + 9c30be2 commit 1dfdb04

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

functions/shiritori/main.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,25 +33,25 @@ rl.prompt()
3333
shiritori.loaded.then(() => {
3434
rl.on('line', (input) => {
3535
shiritori.interact(kana => Promise.resolve(
36-
corpus[kana]), input, previousInputs, {
37-
win (word, kana) {
36+
corpus[kana]), input, previousInputs, {
37+
win (word, kana) {
3838
if (word) {
3939
console.log(`${word} [${kana}]`)
4040
} else {
4141
console.log('すごい!')
4242
}
4343
process.exit(0)
44-
},
45-
lose () {
44+
},
45+
lose () {
4646
console.log('ざんねん。')
4747
process.exit(-1)
48-
},
49-
next (word, kana) {
48+
},
49+
next (word, kana) {
5050
inputs.unshift(input)
5151
inputs.unshift(kana)
5252
console.log(`${word} [${kana}]`)
5353
rl.prompt()
54-
}
55-
})
54+
}
55+
})
5656
})
5757
})

0 commit comments

Comments
 (0)