Fix: 地震情報で津波の心配についての情報が記載されない問題 / 2026.6.0

This commit is contained in:
2026-06-08 00:04:29 +09:00
parent 599b623b8d
commit f03446fd48
2 changed files with 5 additions and 2 deletions
+3
View File
@@ -1,3 +1,6 @@
# 2026.6.0
- Fix: 地震情報で津波の心配についての情報が記載されない問題
# 2026.5.9
- Fix: pnpmが動作しない問題
+2 -2
View File
@@ -182,10 +182,10 @@ const processMessage = async (message: any) => {
: [`🪨深さ: ${message.earthquake.hypocenter.depth === 0
? "ごく浅い"
: `${message.earthquake.hypocenter.depth}km`}`]));
earthquakeNoticeText.push(...(message.earthquake.domesticTsunami ?? "Unknown" === "Unknown"
earthquakeNoticeText.push(...((message.earthquake.domesticTsunami ?? "Unknown") === "Unknown"
? []
: [domesticTsunamiMessages[(message.earthquake.domesticTsunami)]]));
earthquakeNoticeText.push(...(message.earthquake.foreignTsunami ?? "Unknown" === "Unknown"
earthquakeNoticeText.push(...((message.earthquake.foreignTsunami ?? "Unknown") === "Unknown"
? []
: [foreignTsunamiMessages[(message.earthquake.foreignTsunami)]]));
earthquakeNoticeText.push(...(pointsMsg === ""