From 8eed6b2f0a790ff0786af3a1c5a91dc9ceb119b2 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Thu, 26 Mar 2020 15:30:31 +0900 Subject: [PATCH] fix: syntax error --- scripts/nurupo.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/scripts/nurupo.js b/scripts/nurupo.js index edee5f7..e52a2ab 100644 --- a/scripts/nurupo.js +++ b/scripts/nurupo.js @@ -1,3 +1,4 @@ +// @ts-check const random = require("./util/random"); const nyanco = require("./util/nyanco"); @@ -26,9 +27,10 @@ const patterns = [ [ /(カレー|かれー|華麗)/, ({ say }) => say("https://pbs.twimg.com/media/C-RVt9pUAAARRVe.jpg") - ][ - (/(すし|鮨|寿司|スシ|まぐろ|マグロ|sushi)/i, - ({ say }) => say(`${nyanco()} < あいよ っ :sushi:`)) + ], + [ + /(すし|鮨|寿司|スシ|まぐろ|マグロ|sushi)/i, + ({ say }) => say(`${nyanco()} < あいよ っ :sushi:`) ], [/ちゃ|茶/, ({ say }) => say(`お茶どぞー < ${nyanco()}っ :tea:`)], [